Docs

Follow

POST /subscriptions

POST/subscriptions

Creates a subscription for the authenticated user to follow a subject entity. Once subscribed, the user will receive notifications when relevant domain events occur on that subject, subject to their notification preferences.

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <token>OptionalAuthenticate via OAuth2 in Bruno.

Request Body

FieldTypeRequiredDescription
subjectTypestringRequiredType of entity to follow (e.g. Area, Task, Crew).
subjectIdGuidRequiredID of the entity to follow.
organizationIdGuidRequiredOrganization the subject belongs to.
eventIdGuidOptionalEvent the subject belongs to. Omit for org-level subjects.

Response

201 Created — No body.