WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Resynchronize account data

GET/api/linkedin/gateway/accounts/{account_id}/sync

Kicks off a fresh pull of an account's chats and messages — useful after a long disconnect, or to backfill a specific window of history. Calling it again while a sync is running just reports progress.

Authentication

Send your personal API key as a bearer token. A missing, malformed or revoked key returns 401.

Path parameters

FieldTypeDescription
account_id *stringThe account to resync. Must belong to this key.

Query parameters

FieldTypeDescription
chunk_sizenumberHow many chats to pull per chunk.
partialbooleanPull a partial resync instead of the full history.
linkedin_product"classic" | "recruiter" | "sales_navigator"Which LinkedIn surface to resync, for accounts with more than one.
beforenumberOnly sync activity before this time (epoch milliseconds).
afternumberOnly sync activity after this time (epoch milliseconds).

Response fields

FieldTypeDescription
statusstringOne of SYNC_STARTED, SYNC_RUNNING, CHUNK_DONE, SYNC_DONE or SYNC_ERROR.
Only LinkedIn and Telegram accounts support resync today.

Errors

·401 Unauthorized. The key is missing, malformed or has been rotated, or the account is disconnected.·403 Forbidden. account_id doesn't belong to this key.·404 Not Found. No account with that id exists upstream.
CredentialsRequired
AuthorizationBearer wm_live_••••••••
RequestTry it
curl "https://api.warmably.com/api/linkedin/gateway/accounts/459993d2-b0e7-4b19-baf9-45252ca324cf/sync?chunk_size=50" \
  -H "Authorization: Bearer wm_live_..."
Response
200 OK
{
  "object": "AccountResync",
  "status": "SYNC_RUNNING"
}
No key yet? Create one from Dashboard → API Keys.