PATCH
/
v1
/
notifications
/
subscriptions
/
bulk
curl --request PATCH \
  --url https://platform.thena.ai/v1/notifications/subscriptions/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "userIds": [
    "user1",
    "user2"
  ],
  "entityId": "123",
  "eventCategory": "Ticket"
}'

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Body

application/json
userIds
string[]
required

List of user IDs to subscribe

Example:
["user1", "user2"]
entityId
string
required

The ID of the entity to subscribe to

Example:

"123"

eventCategory
enum<string>
required

The category of event to subscribe to

Available options:
ticket
Example:

"Ticket"

Response

401

User is not authenticated!