Subscribe to sequence

POST /actions/user/sequences/{sequence_id}/task-types/{task_type_id}/subscribe

Create a subscription entry for the current user, given sequence, and task type. When subscribed, the user receives notifications for all comments posted on tasks related to the sequence.

Path parameters

  • sequence_id string(uuid) Required

    Sequence unique identifier

  • task_type_id string(uuid) Required

    Task type unique identifier

Responses

  • 201 application/json

    Subscription created successfully

    Hide response attributes Show response attributes object
    • id string(uuid)

      Subscription unique identifier

    • person_id string(uuid)

      Person identifier

    • sequence_id string(uuid)

      Sequence identifier

    • task_type_id string(uuid)

      Task type identifier

    • created_at string(date-time)

      Creation timestamp

    • updated_at string(date-time)

      Last update timestamp

POST /actions/user/sequences/{sequence_id}/task-types/{task_type_id}/subscribe
curl \
 --request POST 'http://api.example.com/actions/user/sequences/a24a6ea4-ce75-4665-a070-57453082c25/task-types/b35b7fb5-df86-5776-b181-68564193d36/subscribe' \
 --header "Authorization: $API_KEY"
Response examples (201)
{
  "id": "c46c8gc6-eg97-6887-c292-79675204e47",
  "person_id": "d57d9hd7-fh08-7998-d403-80786315f58",
  "sequence_id": "e68e0ie8-gi19-8009-e514-91897426g69",
  "task_type_id": "f79f1jf9-hj20-9010-f625-a09008537h80",
  "created_at": "2023-01-01T12:00:00Z",
  "updated_at": "2023-01-01T12:30:00Z"
}