Skip to main content
PATCH
/
projects
/
{project_id}
/
figma_attachments
/
{id}
cURL
curl "https://api.phrase.com/v2/projects/:project_id/figma_attachments/:id" \
  -u USERNAME_OR_ACCESS_TOKEN \
  -X PATCH \
  -F branch=my-feature-branch \
  -F url=https://figma.com/file/xxxxx/sample \
{
  "id": "626ea67628690c73ac86ac81eec2d185",
  "url": "https://figma.com/file/something",
  "created_at": "2017-01-28T09:52:53Z",
  "updated_at": "2017-01-28T09:52:53Z"
}

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

id
string
required

ID

Query Parameters

branch
string

specify the branch to use

Body

application/json
branch
string

specify the branch to use

Example:

"my-feature-branch"

url
string

Figma file url

Example:

"https://figma.com/file/xxxxx/sample"

Response

OK

id
string
url
string
created_at
string<date-time>
updated_at
string<date-time>