Accounts
Reconnect an account
Refresh a dead session with a new login or fresh cookies. It takes the same body as connect.
POST/v1/accounts/{id}/reconnect1,000 credits with cookies · 3,000 credits with a login
Path parameters
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Required | The account_id. |
Request body
| Field | Type | Required | Description |
|---|---|---|---|
method | string | Optional | login (default) or cookies, with the same fields as connect. |
Request
curl -X POST https://api.xautodm.com/v1/accounts/acc_.../reconnect \
-H "Authorization: Bearer $XAUTODM_API_KEY" \
-H "Content-Type: application/json" \
-d '{"method":"cookies","cookiesRaw":"auth_token=...; ct0=..."}'Response
Response
{
"data": {
"account": { "account_id": "acc_...", "handle": "yourbrand", "status": "active",
"needs_reconnect": false, "connect_method": "login", "created_at": "2026-10-27T10:00:00Z" }
},
"meta": { "credits_charged": 500, "credits_remaining": 49500, "request_id": "req_..." }
}Errors use one shape for every endpoint. See errors and rate limits.