Skip to main content
A reaction targets a whole message or one part of it. Relay emits an event when a user adds or removes a reaction from the agent’s message.

Add or remove a reaction

Use operation to add or remove the reaction:
The response returns the stored reaction. Removing a missing reaction or adding an existing one is an idempotent no-op. A reaction outside the agent’s conversations returns 403 forbidden.

Receiving reaction events

When a user reacts to the agent’s message, each matching registered webhook receives reaction.added or reaction.removed:
Use a reaction when acknowledgment is enough, for example, like a “thanks” instead of sending another message.

Next steps