Chat
Update chat custom properties by Chat IDs
To update custom properties for multiple chats at once
Older versions of the API used PATCH /chats/update_properties
as the endpoint. This is now deprecated and replaced with PATCH /chats/custom-properties/update
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token> is your apiKey
generated in Periskope API settings.
Headers
Organisation phone number(with country code) and without any spaces or special characters.
e.g. 9190043XXXXX
Body
application/json
An object containing an object with property_id and value against chat_ids
For e.g. {"9190043XXXX@c.us": {"Property1": "test"}}
Adding this parameter will determine whether the existing labels will be replaced or new labels will be appended at end.
Default value - true
Was this page helpful?