POST
/
v1
/
notifications
/
subscriptions
curl --request POST \
  --url https://platform.thena.ai/v1/notifications/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-org-id: <api-key>' \
  --data '{
  "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
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!