chats
Update Chat
Changed onThis endpoint updates properties of a chat
patch/chats/{chat_id}
Request
- Base URLhttps://api.periskope.app/v1
- URLhttps://api.periskope.app/v1/chats/{chat_id}
- AuthHTTP bearer
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",
"status": "closed"
}Response
200 OK
object required
The response is a chat object. Refer to the chat object here
Changes
- info
added the new optional request property
- info