WhatsApp Gateway
API referenceMessages

Remove your reaction from a message

DELETE
/api/v1/sessions/{session}/messages/{mid}/reaction

Clear your reaction from a message.

The operation is idempotent.

Errors: not_found for missing message or session.

Authorization

AuthorizationBearer <token>

Send Authorization: Bearer <token>. The token can be a login JWT from the frontend or an api-key for a script. JWT access comes from the person's organization role. Api-key access comes from the permissions saved on the key.

In: header

Path Parameters

session*string

WhatsApp session id. Must be owned and connected.

Example"01HZX..."
mid*string

WhatsApp message id to react to.

Example"3EB0C431C26A1916E07A"

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

chat?string

Chat JID for the message.

Example"6281234567890@s.whatsapp.net"
emoji?string

Single emoji. Required for add; ignored for remove.

Example"👍"
sender?string

Original sender JID. Empty means your own message.

Example""

Response Body

application/json

application/json

curl -X DELETE "https://example.com/api/v1/sessions/01HZX.../messages/3EB0C431C26A1916E07A/reaction" \  -H "Content-Type: application/json" \  -d '{}'
{  "mode": "string",  "outboxId": "string",  "replayed": true,  "status": "string",  "timestamp": 0,  "waMessageId": "string"}
{  "error": {    "code": "not_found",    "details": {      "property1": null,      "property2": null    },    "message": "session not found"  }}