Get Chat by Chat ID
Retrieve a chat by its ID. The response is the chat’s public view - a trimmed set of properties (it does not include _id, labels, crmData or displayName, and botState is narrowed to just its session id). To retrieve the complete chat record, use Search Chats.
Required token scopes: Send session message
הרשאות
API token generated in Texter: gear icon → Developers → API Tokens. When creating a token, assign it the scopes required by the endpoints you plan to call - each endpoint lists its required scopes.
פרמטרי נתיב
The unique identifier of the chat. You can obtain this value by using the Search Chats endpoint with the contact's phone number
תגובה
The public chat view. Field-by-field reference: The Chat object
The public chat view returned by Get Chat by ID. Note: this is a trimmed version of the chat - fields like _id, labels, crmData and displayName are not included, and botState is narrowed to its id only.
true
Channel that an entity belongs to
Chat status: 0 = BOT (handled by bot), 1 = PENDING (waiting for an agent), 2 = ASSIGNED (shown as "Taken" in Texter), 3 = RESOLVED, 4 = BULK
0, 1, 2, 3, 4 Epoch milliseconds
Narrowed bot state - only the session ID is returned
Timestamp (epoch milliseconds) of the last message sent or received