v1
latestOpenAPI 3.1.02026-07-1413113265.9 KBchat
pin chat
Pins a chat to the top of the chat list. The operation may fail if the maximum number of pinned chats (3) has been reached.
post/instances/{id}/client/action/pin-chat
Path parameters
idinteger required
The ID of the instance
Request body
Example request
{
"chatId": "50664083362@c.us"
}Response
Successfully pinned the chat
Example response
{
"status": "success",
"instanceId": "1",
"data": {
"chatPinned": true,
"message": "Chat pinned successfully"
}
}