Skip to content

subscribe_to_notifications

Endpoint#

PropertyValue
Typemutation
MethodPOST
Path/api/external/v1/subscribe_to_notifications
HandlerOperatelyWeb.Api.Mutations.SubscribeToNotifications

Authentication#

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

Inputs#

FieldTypeRequiredNullableDefault
idid primitive (encoded as string)YesNo-
typesubscription_parent_type enum (project_check_in, project_retrospective, goal_update, message, resource_hub_document, resource_hub_file, resource_hub_link, comment_thread, project, milestone, project_task)YesNo-

Outputs#

This endpoint has no output fields.

cURL Example#

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