Skip to main content
POST
Toggle comment reaction

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>. Each operation lists the permission it needs: read_only or full_access. A full-access token can call every operation. A read-only token can call only the operations that list read_only; anything else returns 403 read_only_credential_route_not_allowed.

Path Parameters

app_id
string
required

ID of the app.

thread_id
string
required

ID of the comment thread, from thread.id in List comments called with the same branch_id.

message_id
string
required

ID of a comment in the thread: comment.id for the first comment or a replies[].id, from List comments.

Query Parameters

branch_id
string

ID of the branch to work on, as returned by List branches. Omit it to work on the app's main branch.

Body

application/json

The emoji reaction to toggle.

emoji
string
required

Emoji to toggle, up to 16 characters.

Required string length: 1 - 16
Example:

"👍"

Response

Who reacts with the emoji now.

emoji
string
required

The emoji you toggled.

Example:

"👍"

user_ids
string[]
required

IDs of everyone who now reacts with this emoji on the comment. Your ID is missing when you removed your reaction.

Example: