POST
/
projects
/
{project_id}
/
figma_attachments
/
{figma_attachment_id}
/
keys
cURL
curl "https://api.phrase.com/v2/projects/:project_id/figma_attachments/:figma_attachment_id/keys" \
  -u USERNAME_OR_ACCESS_TOKEN \
  -X POST \
  -F branch=my-feature-branch \
  -F id=key_id \
  -H 'Content-Type: application/json'

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

figma_attachment_id
string
required

Figma attachment ID

id
string
required

ID

Query Parameters

branch
string

specify the branch to use

Response

204

The resource was deleted successfully.