chat
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
Request
- Base URL: https://waapi.app/api/v1
- URL: https://waapi.app/api/v1/instances/{id}/client/action/pin-chat
- Auth: HTTP bearer
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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.