Skip to main content
POST
Sync Account
This endpoint allows you to synchronize cookies for a specific platform account type. It accepts a JSON payload containing the account type and required cookie values, and returns a task ID to track the synchronization process.

Headers

string
required
Your API authentication token. Value: Token YOUR_API_KEY
string
required
Must be application/json. Value: application/json

Request Body

string
required
Account type identifier (e.g., twitter-sync, facebook-sync). Example: "twitter-sync"
object
required
Object containing required cookie name-value pairs. Example: {"auth_token": "...", "ct0": "..."}

Response Field Explanations

string
Synchronization task identifier. Example: "984e0a7996aeae956793b8967cd3e122"
string
Always “synchronize-cookies”. Example: "synchronize-cookies"
integer
Task status code (100 = created). Example: 100
string
Human-readable status. Example: "created"
Use browser developer tools to extract cookies. Open DevTools → Application → Cookies, and copy the required cookie values.
The returned task ID can be used with the Check Sync Status endpoint to monitor synchronization progress.
Ensure cookies are fresh and valid. Expired or invalid cookies will result in synchronization failure.
Use List Account Types endpoint first to discover which cookies are required for each platform.

Code Examples

Response

200
400
401