Skip to main content
POST
Create notification

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
templateKey
string
required

The template key for the notification

Example:

"DELEGATION_ISSUED"

userId
string<uuid>
required

The user ID who should receive this notification

Example:

"550e8400-e29b-41d4-a716-446655440000"

tenantId
string<uuid>
required

The tenant ID of the user who should receive this notification

Example:

"550e8400-e29b-41d4-a716-446655440000"

entityType
string
required

The type of entity this notification relates to

Example:

"delegation"

entityId
string
required

The ID of the entity this notification relates to

Example:

"9da9a193-7ce8-4540-8020-d22ad2333960"

placeholders
object
required

Template placeholders to populate in the message

Example:
actionUrl
string

Optional URL for action button on the notification

Example:

"https://example.com/delegations/123456"

payload
object

Optional payload with additional data for the notification

Example:

Response

201 - application/json

The notification has been successfully created

statusCode
number
required

HTTP Status code

Example:

200

timestamp
string
required

Timestamp of the response

Example:

"2026-01-12T09:08:08.140Z"

message
string
required

Response message

Example:

"Success"

data
object
required

Response data