Skip to main content
GET
/
api
/
v1
/
notification-configs
Get all notification configs
curl --request GET \
  --url https://dev-billing-api.iqraa.ai/api/v1/api/v1/notification-configs \
  --header 'x-admin-api-key: <x-admin-api-key>'
[
  {
    "event": "trial_period_expiry",
    "timePeriod": [
      1,
      2,
      3
    ],
    "unit": "seconds",
    "templateName": "notificationservice-template-testing",
    "senderEmail": "[email protected]",
    "senderName": "Sinan",
    "supportEmail": "[email protected]",
    "productName": "Razi"
  }
]

Headers

x-admin-api-key
string
required

The API key to access the admin API

Response

Returns all notification configs

event
string
required

Trial Period Expiry

Example:

"trial_period_expiry"

timePeriod
string[]
required

Time period for the event

Example:
[1, 2, 3]
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

senderName
string
required

Sender Name

Example:

"Sinan"

supportEmail
string
required

Support Email

productName
string
required

Product Name

Example:

"Razi"