curl --request POST \
--url https://api.wsapi.chat/messages/{messageId}/reaction \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Instance-Id: <x-instance-id>' \
--data '
{
"to": "1234567890@s.whatsapp.net",
"senderId": "1234567890@s.whatsapp.net",
"reaction": "👍"
}
'{
"id": "01234567890123456"
}{
"status": 400,
"detail": "invalid request body"
}{
"status": 401,
"detail": "unauthorized"
}{
"status": 403,
"detail": "device not paired"
}{
"status": 503,
"detail": "instance not available"
}Messages
React to a message
Send an emoji reaction to a message. Send an empty string as the reaction to remove a previous reaction.
POST
/
messages
/
{messageId}
/
reaction
curl --request POST \
--url https://api.wsapi.chat/messages/{messageId}/reaction \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: <api-key>' \
--header 'X-Instance-Id: <x-instance-id>' \
--data '
{
"to": "1234567890@s.whatsapp.net",
"senderId": "1234567890@s.whatsapp.net",
"reaction": "👍"
}
'{
"id": "01234567890123456"
}{
"status": 400,
"detail": "invalid request body"
}{
"status": 401,
"detail": "unauthorized"
}{
"status": 403,
"detail": "device not paired"
}{
"status": 503,
"detail": "instance not available"
}Authorizations
Instance or customer-level API key. Either the instance's own API key or the customer's API key is accepted. Must be paired with the X-Instance-Id header to identify the target instance.
Headers
The ID of the WhatsApp instance to use
Path Parameters
Message ID
Body
application/json
Response
Success
ID of the resource
⌘I