Skip to main content
POST
Link Figma nodes to text items

Authorizations

Authorization
string
header
required

Body

application/json
projectId
string
required

Developer ID of the Ditto project linked to the Figma file containing these nodes.

Text items and the Figma node IDs to link to each. Max 500 distinct node IDs in total per request, across all links.

Minimum array length: 1
branchId
string | null

Figma branch ID (from the branch file's Figma URL) that every node in this request belongs to; one branch per request. If omitted, nodes are looked up in the project's main Figma file.

Response

Returns the resolved project and branch context, plus 1 result per distinct Figma node ID

projectId
string
required
branchId
string | null
required
results
(Linked · object | Linked to another text item · object | Not linked · object)[]
required