Skip to content

add_reaction

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/add_reaction
HandlerOperatelyWeb.Api.Mutations.AddReaction

Authentication#

  • Requires a valid API token.
  • Requires a write-enabled token.
  • Read-only tokens return 403.

Inputs#

FieldTypeRequiredNullableDefault
entity_idid primitive (encoded as string)YesNo-
entity_typereaction_entity_type enum (project_check_in, project_retrospective, comment_thread, goal_update, message, comment, resource_hub_document, resource_hub_file, resource_hub_link)YesNo-
parent_typereaction_parent_type enum (project_check_in, project_retrospective, comment_thread, goal_update, message, milestone, project_task, space_task, resource_hub_document, resource_hub_file, resource_hub_link)NoNo-
emojistringYesNo-

Outputs#

FieldTypeRequiredNullable
reactionreaction objectYesNo

cURL Example#

Copied
curl --request POST \
  --url "https://app.operately.com/api/external/v1/add_reaction" \
  --header "Authorization: Bearer ${OPERATELY_API_TOKEN}" \
  --header "Content-Type: application/json" \
  --data '{"emoji":"value", "entity_id":"value", "entity_type":"project_check_in", "parent_type":"project_check_in"}'

Response Example#

{
  "reaction": {
    "emoji": "value",
    "id": "value",
    "person": "<person>"
  }
}