Add or remove reaction
POST
https://api.flownally.com/v1/messages/{id}/reactionsAdds the caller's emoji reaction to a message, or removes it when removed is true. On
WhatsApp each sender can have one reaction per message, so a new emoji replaces the
previous one.
Authorization
Required scopes
- message:create
Allowed roles
- owner
- admin
- agent
Add or remove a reaction in an authorized conversation context.
Parameters
- Name
id- Type
- path · string
- required
ID of the message to react to.- Name
Idempotency-Key- Type
- header · string
Key you generate so a retried request isn't applied twice. Use a new key for each new request and the same key for each retry of it.
Body parameters
Send a application/json body. The body is required.
- Name
emoji- Type
- string
- required
The emoji to add or remove.- Name
removed- Type
- boolean
Set totrueto remove the caller's reaction with thisemoji.
Responses
- 200Reaction sentapplication/json
- defaultErrorapplication/json
Related schemas
Generated from the API spec.