POST
/v1/accounts/cookiesSync Account
Synchronize cookies for a platform account to enable authenticated scrapingThis 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
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
typestring
RequiredExample: twitter-sync
cookiesobject
RequiredExample: {auth_token: ..., ct0: ...}
Response Field Explanations
id
string
Example: 984e0a7996aeae956793b8967cd3e122
object
string
Example: synchronize-cookies
status_code
integer
Example: 100
status_text
string
Example: created
Pro Tip
Use browser developer tools to extract cookies. Open DevTools → Application → Cookies, and copy the required cookie values.
Note
The returned task ID can be used with the Check Sync Status endpoint to monitor synchronization progress.
Warning
Ensure cookies are fresh and valid. Expired or invalid cookies will result in synchronization failure.
Pro Tip
Use List Account Types endpoint first to discover which cookies are required for each platform.