v1

latestOpenAPI 3.0.0Proprietary2026-07-26316155742.7 KB
Comment Reactions

Create a reaction

Create a new reaction for a comment.

post/projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions

Path parameters

project_idstring required

Project ID

key_idstring required

Translation Key ID

comment_idstring required

Comment ID

Query parameters

branchstring

specify the branch to use

emojistring

specify the emoji for the reaction

Headers

X-PhraseApp-OTPstring

Two-Factor-Authentication token (optional)

Response

Created

idstring
emojistring
created_atstring date-time
updated_atstring date-time

Example response

{
  "id": "abcd1234cdef1234abcd1234cdef1234",
  "emoji": "🔥",
  "created_at": "2015-01-28T09:52:53Z",
  "updated_at": "2015-01-28T09:52:53Z",
  "comment": {
    "id": "abcd1234cdef1234abcd1234cdef1234",
    "message": "Some comment...",
    "name": "Joe Doe"
  },
  "user": {
    "id": "abcd1234cdef1234abcd1234cdef1234",
    "username": "joe.doe",
    "name": "Joe Doe"
  }
}