Update chat custom properties by Chat IDs
Update chat custom properties
Useful for updating custom properties for multiple chats at once. Only properties with text
values can be updated with this API. Other property types like dropdown, date, etc., if provided, will result in failure.
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
An object containing all the property IDs and values you want to update. Note: Only properties with text
values can be updated with this API. Other property types like dropdown, date, etc., if provided, will result in failure.
e.g. { "property_id": "property_value" }
You can find the property IDs using the List all org custom properties (Chat) API
Array of Chat IDs that contain the property you want to update.
e.g. ["9190043XXXXX@c.us", "120364434XXXXXX@g.us"]
Was this page helpful?