Messaging

Resynchronize chats for a given attendee

Changed on

Starts or monitors the synchronization of all chats for a given attendee.

get/api/v1/chat_attendees/{attendee_id}/sync

Request

Path parameters

attendee_idstring required

The Unipile ID or provider ID of the attendee.

Query parameters

account_idstring required

The id of the account to use.

Response

OK. Request succeeded.

object'AttendeeHistorySync' required
attendee_idstring required
status'SYNC_STARTED' | 'CHAT_DELETED' | 'SYNC_RUNNING' | 'SYNC_DONE' | 'SYNC_ERROR' | 'CHUNK_DONE' required

The status of the attendee synchronization. You can setup a regular polling on the same route to get updates on its status. A new request after a SYNC_DONE, CHUNK_DONE or SYNC_ERROR response will start a fresh sync.

Changes