v1
latestOpenAPI 3.0.32026-07-26870417.2 KBchats
Update Chat
This endpoint updates properties of a chat
patch/chats/{chat_id}
Headers
x-phonestring
Example:918527184400
Please provide the number of the phone you want to call with this API in the header. The number must be in country code + number format without any characters or spaces, e.g. 919876543210; Alternatively, provide the phone_id (phone-xxxxxxxxxxxx) in the header
Request body
Example request
{
"assigned_to": "bharat@hashlabs.dev",
"custom_properties": {
"Custom Property 1": "hello"
},
"labels": "chatlabel1,chatlabel2"
}Response
200 OK
object required
The response is a chat object. Refer to the chat object here