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
object
required

An object containing array of labels against chat_ids

For e.g. {"9190043XXXX@c.us": ["hot"]}

replace
boolean

Adding this parameter will determine whether the existing labels will be replaced or new labels will be appended at end. Default value - true