GET
/
v1
/
notifications
/
subscriptions
/
preferences
curl --request GET \
  --url https://platform.thena.ai/v1/notifications/subscriptions/preferences \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
[
  {
    "eventType": "ticket_created",
    "isEnabled": true,
    "createdAt": "2021-01-01",
    "updatedAt": "2021-01-01"
  }
]

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Response

200
application/json
Operation successful
eventType
string
required

The event type of the notification

Example:

"ticket_created"

isEnabled
boolean
required

Whether the notification is enabled

Example:

true

createdAt
string
required

The created at date of the notification subscription preference

Example:

"2021-01-01"

updatedAt
string
required

The updated at date of the notification subscription preference

Example:

"2021-01-01"