SocialKing External API Documentation#

Tai lieu API dung API Key (X-API-Key) de xac thuc. Day la cac API danh cho he thong ben ngoai, tools, va services giao tiep voi SocialKing.

Base URL#

https://app.socialking.vn/api/v1

Authentication#

Tat ca cac API yeu cau API Key trong header:

X-API-Key: <your_api_key>

API Key duoc tao tu trang quan ly tai khoan SocialKing.

Response Format#

{
  "success": true,
  "data": { ... },
  "message": "..."
}

Error Response:

{
  "success": false,
  "message": "Error description",
  "code": "ERROR_CODE"
}

Auth Errors:

CodeHTTPMo ta
NO_API_KEY401Khong co API key
INVALID_API_KEY401API key khong hop le
USER_NOT_FOUND401Tai khoan khong ton tai
ACCOUNT_BANNED403Tai khoan bi khoa
ACCOUNT_NOT_VERIFIED403Tai khoan chua xac thuc

API Sections#

Account & Pool#

APIMo ta
Pool APIQuan ly pool, lay account tot nhat cho action
FB Account APICap nhat status, thong tin tai khoan Facebook
Account Restriction APIQuan ly han che tai khoan

Automation & Content#

APIMo ta
Automation APICRUD automation, flow data
Content APILay noi dung, variants, media
Server Automation APILay schedules can chay

Data & Tools#

APIMo ta
Target Data APILay target data voi filters
Tools APICheck checkpoint tai khoan
Transaction APIClear cache giao dich