Docs
Follow
POST /subscriptions
POST
/subscriptionsCreates 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
| Field | Type | Required | Description |
|---|---|---|---|
| Bearer | Authorization: Bearer <token> | Optional | Authenticate via OAuth2 in Bruno. |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| subjectType | string | Required | Type of entity to follow (e.g. Area, Task, Crew). |
| subjectId | Guid | Required | ID of the entity to follow. |
| organizationId | Guid | Required | Organization the subject belongs to. |
| eventId | Guid | Optional | Event the subject belongs to. Omit for org-level subjects. |
Response
201 Created — No body.