Skip to content

Reactions

Count, add, and remove emoji reactions on posts, post comments, annotations, tasks, and task comments.

Reactions use their own scopes plus the read scope of the item: comments endpoints also need comments:read, and task endpoints also need tasks:read. Free workspace keys can list reactions but not change them.

Endpoints

Toggle behavior and limits

  • Each POST acts for the credential owner. Send action as add, remove, or toggle. The default is toggle, which flips the current state. Use add or remove when you retry after a failed connection: a repeat changes nothing and returns 200 with changed: false. The response action says what the reaction is now.
  • A person can add several different emoji to one item, and one of each emoji. Lists return counts per emoji, not who reacted.
  • The emoji value is not checked against an emoji list. It must not be empty and is limited to 10 characters, counted as UTF-16 code units, so a long sequence such as a family emoji is rejected. Custom reactions are limited to 39 characters.
  • An item holds at most 5,000 reactions. Adding one past that returns 409.
  • Viewers cannot add or remove reactions.

Native sessions can GET or POST task reactions with X-Project-Feed-Workspace. Reads require tasks:read and reactions:read; writes require tasks:read and reactions:write plus a writable task. Viewers can read but cannot react. Send action add or remove when a request may be retried: repeating the same desired state does not toggle. An omitted action toggles and must not be replayed blindly after a timeout. These routes have no If-Match check or idempotency-key replay cache. Task-comment reaction routes remain closed to session tokens.

Custom reactions

Send a workspace's custom reaction as custom:name in emoji. Lists add isCustom (always true), name, and imageUrl to those entries. imageUrl is the image URL, or null when the workspace has no custom reaction with that name. Names are 2 to 32 letters, numbers, or underscores. Owners and admins define them in the app; see Custom reactions.

Chat message reactions

Chat messages use the same list and toggle responses at /api/v1/chat/rooms/:roomId/messages/:messageId/reactions. They need chat:read as well as the reaction scopes, accept emoji up to 32 characters, and hold at most 250 reactions per message. See the Chat API.

Fix a failed request

  • 400: the emoji is empty, too long, or not a string, or action is not add, remove, or toggle.
  • 403: the credential lacks a scope, the workspace is on the Free plan and the request writes, or the owner is a viewer.
  • 404: the post, task, or comment does not exist in this workspace, or the owner cannot open it.
  • 409: the item already holds 5,000 reactions.

Error bodies are described on the errors page.

Next steps

Image preview
100%