Skip to main content
POST
Add Reaction

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

comment_id
string
required

Query Parameters

hub_id
string
required

Body

application/vnd.api+json

Top-level envelope for POST /api/comments//reactions.

Shape: { "data": { "type": "comment_reactions", "attributes": { "emoji": "..." } } }

data
ReactionCreateResource · object
required

JSON:API resource wrapper for a reaction create request.

Response

Successful Response

Single-item JSON:API envelope for a reaction.

Shape: { "data": }

data
ReactionResource · object
required

JSON:API resource object for a comment reaction.

Shape: { "type": "comment_reactions", "id": "", "attributes": { "comment_id": "...", "contact_id": "...", "emoji": "...", "created_at": "..." } }