Skip to main content
Place or remove a reaction on a comment

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Path Parameters

historyId
string
required

Identifier of the comment to react to

Pattern: ^[a-f0-9]{32}$
Example:

"9f1c4e2ab7d4423d8a6f0c5e3b7d1a92"

id
string
required

Identifier of the document the comment belongs to.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

reaction
enum<string>
required

Reaction type to place or remove.

Available options:
like,
heart,
dislike,
laugh
Example:

"like"

Body

application/json
placed
boolean
required

True places the reaction for the calling user, replacing any other reaction they have on the comment; false removes it. Placing a reaction that is already placed, or removing one that is not, changes nothing and still succeeds.

Response

Success

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"