Update Chat Properties
Modify attributes of a chat. Most commonly used to change a contact’s display name in Texter or to enable/disable an external bot for the chat.
Required token scopes: Manage all chats
Note that updating properties fully overrides existing values. For example, if a crmData object already exists, it is fully replaced by the new object provided in the request. To merge CRM data instead, use Update CRM Data.
הרשאות
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
גוף
Updates the display name of the chat
255Whether an external bot is active. Toggling this value triggers an event - commonly used to enable or disable an external bot integration
CRM metadata object for the chat. Fully replaces the existing object
A direct link to the contact's CRM record, shown to agents in Texter
Deprecated - use displayName instead
255Reserved for future functionality
תגובה
The updated chat object. Field-by-field reference: The Chat object
A conversation with a contact on a connected channel
Unique identifier of the chat in Texter
"64de3b15398a8e09c47a9f62"
Contact's name as set in their WhatsApp account settings
Custom name modified in Texter. Absent if the display name was never modified
ID of the person that owns this chat - links chats of the same person across channels
File ID of the chat's avatar image, when available
Channel that an entity belongs to
The assigned agent
Department responsible for the chat
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 Number of unread incoming messages
List of label IDs applied to the chat
["urgent", "billing"]Preview of the last message in the chat. Note: not included in Search Chats results
Timestamp (epoch milliseconds) of the last message sent or received
Timestamp (epoch milliseconds) of the last incoming (contact) message
When the chat was created
Last time the chat was updated
Timestamp (epoch seconds) of the last pending-reminder the bot sent while the chat waits for an agent. Reset to null on resolve
Timestamp (epoch seconds) of the last update into pending status
Timestamp (epoch seconds) of the last time the chat was marked as RESOLVED
Action that runs when the contact replies to a template message. Set by template defaults or by the Send Template Message replyAction parameter
ID of the agent who initiated the bulk template message
ID of the latest bulk send performed in this chat. Its presence does not mean the chat is currently in BULK status - only that a bulk send happened at some point
Data about the active or most recent bot session. May contain additional bot-specific keys beyond the ones listed
Data about the second-to-last bot session
Custom CRM metadata associated with the chat; structure varies by integration (Powerlink, Monday, etc.)
Personalized link to the contact's record in the integrated business CRM
Reference to the most recent CRM record linked to the chat. String or number depending on the CRM integration
Timestamp (epoch milliseconds) of the last message stored in CRM
Whether an external bot (outside Texter) is currently active. Changing this value triggers an event - commonly used to enable or disable external bot integrations
Present when the chat unsubscribed from template messages
Whether the chat contains failed outgoing messages
The chat's preferred language. Reserved for future functionality
All chats of the same person (including this one), as channel references. Present in webhook event payloads; not included in REST search results
Deprecated - use channelInfo.name instead
Deprecated - use channelInfo.id instead
Deprecated - use channelInfo.id instead
Deprecated - use channelInfo.accountId instead
Deprecated - use lastMessage.text instead
Deprecated (epoch seconds) - use unsubscribed.date instead
Deprecated - use the unsubscribed property instead