Skip to main content
POST
React to a message

Authorizations

Authorization
string
header
required

OAuth 2.1 authorization code + PKCE (S256). Tokens are tenant-bound (company_id) and scoped. Discover endpoints via /.well-known/oauth-authorization-server.

Path Parameters

id
string
required

The id.

Body

application/json

Add an emoji reaction to a message in the conversation, as the token tenant. The route reads message_id and emoji off the body (app/api/oauth/v1/conversations/[id]/reactions/route.ts:25).

message_id
string
required

The message/resource id to react to (distinct from the conversation id). Required (400 'message_id is required' otherwise).

emoji
string
required

The emoji to react with. Required (400 'emoji is required' otherwise).

Response

Reaction result (raw reaction object).

data
object
required

Result of reacting. reaction is the raw reaction object.