GET
/
v1
/
notifications
/
subscriptions
curl --request GET \
  --url https://platform.thena.ai/v1/notifications/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'x-org-id: <api-key>'
[
  {
    "id": "123",
    "name": "John Doe",
    "email": "john@example.com",
    "avatarUrl": "https://example.com/avatar.png",
    "subscriptionType": "manual",
    "subscribedAt": "2024-02-13T12:00:00Z"
  }
]

Authorizations

Authorization
string
header
required

Enter JWT bearer token

x-org-id
string
header
required

Enter organization ID

Query Parameters

entityId
string
required

The ID of the entity

Example:

"123"

eventCategory
enum<string>
required

The type of entity to subscribe to

Available options:
ticket
Example:

"TICKET"

Response

200
application/json
Operation successful
id
string
required

The ID of the user

Example:

"123"

name
string
required

The name of the user

Example:

"John Doe"

email
string
required

The email of the user

Example:

"john@example.com"

avatarUrl
string
required

The avatar of the user

Example:

"https://example.com/avatar.png"

subscriptionType
enum<string>
required

The type of subscription

Available options:
manual,
auto
Example:

"manual"

subscribedAt
string
required

The date when the user subscribed

Example:

"2024-02-13T12:00:00Z"