POST/v1/accounts/cookies

Sync Account

Synchronize cookies for a platform account to enable authenticated scraping

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

KeyValueRequired
AuthorizationToken YOUR_API_KEYYes
Content-Typeapplication/jsonYes

Request Body

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

Response Field Explanations

id
string
Synchronization task identifier
Example: 984e0a7996aeae956793b8967cd3e122
object
string
Always "synchronize-cookies"
Example: synchronize-cookies
status_code
integer
Task status code (100 = created)
Example: 100
status_text
string
Human-readable status
Example: created
Pro Tip

Pro Tip

Use browser developer tools to extract cookies. Open DevTools → Application → Cookies, and copy the required cookie values.
Note

Note

The returned task ID can be used with the Check Sync Status endpoint to monitor synchronization progress.
Warning

Warning

Ensure cookies are fresh and valid. Expired or invalid cookies will result in synchronization failure.
Pro Tip

Pro Tip

Use List Account Types endpoint first to discover which cookies are required for each platform.