WA Client
PUT

Star Message

Star or unstar a message.

API endpoint
https://waclient.com/api/star_message
Example:
curl -X PUT \
  'https://waclient.com/api/star_message' \
  -H 'Content-Type: application/json' \
  --data '{
    "chat_id": "20100981XXXX",
    "message_id": "ABC123",
    "star": true,
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "chat_id": "[email protected]",
        "message_id": "ABC123",
        "starred": true
    }
}
ParameterDescription
chat_idChat JID or phone number
message_idMessage ID
startrue to star, false to unstar
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc