WA Client
DEL

Unpin Message

Unpin a message from a chat.

API endpoint
https://waclient.com/api/unpin_message
Example:
curl -X DELETE \
  'https://waclient.com/api/unpin_message' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "20100981XXXX",
    "message_id": "ABC123",
    "from_me": true,
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "message_id": "ABC123",
        "unpinned": true
    }
}
ParameterDescription
chat_idChat JID or phone number
message_idMessage ID
from_meWhether pinned message is from you (Optional)
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc