Figma
Add Figma Comment
Post a comment on a Figma file, optionally pinned to a frame or as a reply.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| identifieraccount · required | account | required | — |
| fileKeystring · required | string | required | Paste a Figma file link or the file key from the URL. Example: |
| messagestring · required | string | required | What the comment says. |
| nodeIdstring · optional | string | optional | Pin the comment to this frame or layer (node ID or layer link). Ignored when replying. Example: |
| offsetXnumber · optional | number | optional | Where in the frame to put the pin, from its left edge. Default 0. |
| offsetYnumber · optional | number | optional | Where in the frame to put the pin, from its top edge. Default 0. |
| replyToCommentIdstring · optional | string | optional | Reply to this comment, from List Figma Comments. It must be a top-level comment (isReply false). |
Response schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"url": {
"type": "string",
"description": "Opens the comment in Figma"
},
"user": {
"type": "object"
},
"fileKey": {
"type": "string"
},
"message": {
"type": "string"
},
"parentId": {
"type": "string"
},
"createdAt": {
"type": "string"
}
}
}