provider Comment Reactions POST /v1/files/{file_key}/comments/{comment_id}/reactions
@utdk/figma /v1/files/{file_key}/comments/{comment_id}/reactions
Add a reaction to a comment
Posts a new comment reaction on a file comment.
file_key path required
File to post comment reactions to. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key.
string
comment_id path required
ID of comment to react to.
string

Try it

Authentication
Configure credentials for Figma API
postcommentreaction
POST/v1/files/{file_key}/comments/{comment_id}/reactions
Posts a new comment reaction on a file comment.

Parameters

required

File to post comment reactions to. This can be a file key or branch key. Use `GET /v1/files/:key` with the `branch_data` query param to get the branch key.

required

ID of comment to react to.

Input

required

The emoji type of reaction as shortcode (e.g. `:heart:`, `:+1::skin-tone-2:`). The list of accepted emoji shortcodes can be found in [this file](https://raw.githubusercontent.com/missive/emoji-mart/main/packages/emoji-mart-data/sets/14/native.json) under the top-level emojis and aliases fields, with optional skin tone modifiers when applicable.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import figma from '@utdk/figma';

await figma.postcommentreaction()