Skip to main content
POST
Pin or unpin a message

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use the /api/login endpoint to obtain a token.

Body

application/json
id
integer

Chat row ID (NOT message_id)

Example:

1

Response

200

Message pin toggled