Skip to main content
POST
Pin/unpin chat

Authorizations

token
string
header
required

Body

application/json
number
string
required

Chat number in full international format (e.g., "5511999999999") or group ID (e.g., "123456789-123456@g.us")

Example:

"5511999999999"

pin
boolean
required

Defines whether the chat should be pinned (true) or unpinned (false)

Example:

true

Response

Chat pinned/unpinned successfully

response
string

Confirmation message

Example:

"Chat pinned"