Skip to main content
POST
Create a new notification config

Headers

x-admin-api-key
string
required

The API key to access the admin API

Body

application/json
event
string
required

Trial Period Expiry

Example:

"trial_period_expiry"

timePeriod
string[]
required

Time period for the event

Example:
unit
string
required

Unit of measurement for the time period

Example:

"seconds"

templateName
string
required

Name of the template

Example:

"notificationservice-template-testing"

senderEmail
string
required

Sender email

Example:

"sinan@razi.ai"

senderName
string
required

Sender Name

Example:

"Sinan"

supportEmail
string
required

Support Email

Example:

"sinan@razi.ai"

productName
string
required

Product Name

Example:

"Razi"

Response

Notification config created successfully

event
string
required

Trial Period Expiry

Example:

"trial_period_expiry"

timePeriod
string[]
required

Time period for the event

Example:
unit
string
required

Unit of measurement for the time period

Example:

"seconds"

templateName
string
required

Name of the template

Example:

"notificationservice-template-testing"

senderEmail
string
required

Sender email

Example:

"sinan@razi.ai"

senderName
string
required

Sender Name

Example:

"Sinan"

supportEmail
string
required

Support Email

Example:

"sinan@razi.ai"

productName
string
required

Product Name

Example:

"Razi"