Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your apiKey generated in Periskope API settings.

Headers

x-phone
string
required

Organisation phone number(with country code) and without any spaces or special characters.

e.g. 9190043XXXXX

Body

application/json
labels
string
required

List of comma-separated labels.

e.g. "high, low, medium"

You can find the label IDs using the List all org labels (Chat) API

chat_ids
string[]
required

Array of Chat IDs whose labels you want to update.

e.g. ["9190043XXXXX@c.us", "120364434XXXXXX@g.us"]