React to a message
PreviewPut an emoji reaction on a user or agent message. Adding one you already put there changes nothing. Reactions on the agent’s replies reach the agent as a short note, by default with its next turn.
PUT
/v1/sessions/{session_id}/messages/{message_id}/reactions/{emoji}See authentication for credentials and permissions.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”session_id
required
string
Prefixed public identifier
message_id
required
string
Prefixed public identifier
emoji
required
string
Prefixed public identifier
Responses
200Success
Success
Media typeapplication/json
Result of adding or removing a reaction.
object
changed
required
False when the message already was in that state.
boolean
emoji
required
string
message_id
required
Message the reaction is on (message_...).
string
reacted
required
Whether the reaction is on the message now.
boolean
Example
{ "emoji": "👍", "message_id": "message_01933b5a00007000800000000000001"}404Session or message not found
Session or message not found