POST
/v1/accounts/cookiesRefresh Cookies
Update and re-synchronize cookies for an existing accountThis endpoint updates and synchronizes cookies for an existing account using its account hash. Use this when your account cookies have expired or need to be refreshed.
Headers
| Key | Value | Required |
|---|---|---|
| Authorization | Token YOUR_API_KEY | Yes |
| Content-Type | application/json | Yes |
Request Body
accountstring
RequiredExample: abfeb440ceccdfab974e8d261836c9d6
typestring
RequiredExample: twitter-sync
cookiesobject
RequiredExample: {auth_token: ..., ct0: ...}
Response Field Explanations
id
string
Example: 7966b678b6b63ef599deeea99cb2b219
object
string
Example: synchronize-cookies
status_code
integer
Example: 100
status_text
string
Example: created
Warning
Refresh cookies immediately when you notice status_code_info showing 'cookies_expired' in List Accounts or Get Account Details.
Pro Tip
Use the returned task ID with Check Sync Status to monitor the refresh process.
Note
Refreshing cookies preserves all account settings and limits. You don't need to reconfigure the account after refresh.
Pro Tip
Set up monitoring to check account status regularly and automate cookie refresh when needed.