WarmablyWarmablyDOCS
Search docs⌘K
Dashboard
API Reference/Endpoints

Synchronize chat history

GET/api/linkedin/gateway/chats/{chat_id}/sync

Pulls a chat's full history from the beginning rather than just what's already synced. This single call both starts the sync and reports its progress — call it again to poll status.

Authentication

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

Path parameters

FieldTypeDescription
chat_id *stringThe chat to synchronize.

Query parameters

FieldTypeDescription
account_id *stringThe connected account this chat belongs to.

Response fields

FieldTypeDescription
statusstringOne of SYNC_STARTED, SYNC_RUNNING, SYNC_DONE, SYNC_ERROR, or CHAT_DELETED.
Keep calling this same route on an interval to track progress. Once it reports SYNC_DONE or SYNC_ERROR, calling it again starts a fresh sync from scratch.

Errors

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