Blueticks
Messages

Pin message

Pin a message to the top of its chat.

Optionally pass a duration (seconds) in the body to control when the pin expires — defaults to 7 days. Requires chats:write.

Request

curl -X POST "https://api.blueticks.co/v1/messages/pin/" \  -H "Content-Type: application/json" \  -d '{}'
POST
/v1/messages/pin/{waMessageKey}

Path Parameters

waMessageKey*string

The complete WhatsApp message key (<fromMe>_<chatJid>_<id>[_<participant>]), e.g. false_120363426216988013@g.us_3EB0659D13650092D677AD_188450464616609@lid.

Query Parameters

chatId?string

Optional. Only used to find the message faster — when you pass a bare message id instead of the complete key, chatId lets the server rebuild the full key. If you pass the complete waMessageKey you can omit it.

Request Body

application/json

Response

Response Body

application/json

application/json