Skip to main content

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string
required
Pattern: ^[A-Za-z0-9_-]{8,128}$

Path Parameters

chatId
string
required

Body

application/json
action
enum<string>
required
Available options:
read,
unread,
archive,
unarchive

Response

Success

The response is of type object.