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

Path Parameters

chat_id
string
required

Chat ID for which the action is to be performed

e.g.

For groups - 12054386805XXX@g.us

For individual chats - 9198765XXXXX@c.us

Body

application/json
image
string

Updated group image. Must be a public url

messagesAdminsOnly
boolean

If true, only admins can send messages

infoAdminsOnly
boolean

If true, only admins can change group settings

name
string

Updated name of the group

description
string

Updated descrption of the group