Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Enter your token in the format token TOKEN

Headers

X-PhraseApp-OTP
string

Two-Factor-Authentication token (optional)

Path Parameters

project_id
string
required

Project ID

key_id
string
required

Translation Key ID

Body

application/json
message
string
required

Comment message

Example:

"Some message..."

branch
string

specify the branch to use

Example:

"my-feature-branch"

locale_ids
string[]

specify the locales for the comment

Example:

Response

Created

id
string
message
string
has_replies
boolean
user
user_preview · object
Example:
created_at
string<date-time>
updated_at
string<date-time>
mentioned_users
user_preview · object[]
locales
locale_preview · object[]