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/v1Authentication#
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:
| Code | HTTP | Mo ta |
|---|---|---|
NO_API_KEY | 401 | Khong co API key |
INVALID_API_KEY | 401 | API key khong hop le |
USER_NOT_FOUND | 401 | Tai khoan khong ton tai |
ACCOUNT_BANNED | 403 | Tai khoan bi khoa |
ACCOUNT_NOT_VERIFIED | 403 | Tai khoan chua xac thuc |
API Sections#
Account & Pool#
| API | Mo ta |
|---|---|
| Pool API | Quan ly pool, lay account tot nhat cho action |
| FB Account API | Cap nhat status, thong tin tai khoan Facebook |
| Account Restriction API | Quan ly han che tai khoan |
Automation & Content#
| API | Mo ta |
|---|---|
| Automation API | CRUD automation, flow data |
| Content API | Lay noi dung, variants, media |
| Server Automation API | Lay schedules can chay |
Data & Tools#
| API | Mo ta |
|---|---|
| Target Data API | Lay target data voi filters |
| Tools API | Check checkpoint tai khoan |
| Transaction API | Clear cache giao dich |