WA Client
POST

Pin Message

Pin a message in a chat.

API endpoint
https://waclient.com/api/pin_message
Example:
curl -X POST \
  'https://waclient.com/api/pin_message' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "20100981XXXX",
    "message_id": "ABC123",
    "time": 86400,
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "message_id": "ABC123",
        "pinned": true
    }
}
ParameterDescription
chat_idChat JID or phone number
message_idMessage ID
timePin duration in seconds (default 86400 = 24h) (Optional)
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc