Sync Account
Account
Sync Account
Synchronize cookies for a platform account to enable authenticated scraping
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
Your API authentication token. Value:
Token YOUR_API_KEYMust be application/json. Value:
application/jsonRequest Body
Account type identifier (e.g., twitter-sync, facebook-sync). Example:
"twitter-sync"Object containing required cookie name-value pairs. Example:
{"auth_token": "...", "ct0": "..."}Response Field Explanations
Synchronization task identifier. Example:
"984e0a7996aeae956793b8967cd3e122"Always “synchronize-cookies”. Example:
"synchronize-cookies"Task status code (100 = created). Example:
100Human-readable status. Example:
"created"The returned task ID can be used with the Check Sync Status endpoint to monitor synchronization progress.
Code Examples
Response
200
400
401