Notifications
Successful Operation.
{"statusCode":200,"data":{"categories":[{"id":"b0a600fa-8860-42a6-8a6a-6521e90749b1","name":"Accounts"}]}}
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
GET /admin/communications/notification-categories HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"categories": [
{
"id": "b0a600fa-8860-42a6-8a6a-6521e90749b1",
"name": "Accounts"
}
]
}
}
Accounts
Successful Operation.
{"statusCode":201}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
Error processing the information
POST /admin/communications/notification-categories HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"name": "Accounts"
}
{
"statusCode": 201
}
Successful Operation.
{"statusCode":200,"data":{"id":"b0a600fa-8860-42a6-8a6a-6521e90749b1","name":"Accounts"}}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
GET /admin/communications/notification-categories/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "b0a600fa-8860-42a6-8a6a-6521e90749b1",
"name": "Accounts"
}
}
General notifications
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
PUT /admin/communications/notification-categories/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 32
{
"name": "General notifications"
}
{
"statusCode": 200
}
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
DELETE /admin/communications/notification-categories/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
Successful Operation.
{"statusCode":200,"data":{"notifications":[{"id":"b86ab9b3-ab76-4633-8030-ec990d27a974","name":"Welcome","eventName":"WELCOME_NOTIFICATION","description":"lorem Ipsum is simply dummy text of the printing and typesetting industry","isMandatory":true,"notificationCategoryId":"b0a600fa-8860-42a6-8a6a-6521e90749b1"}]}}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
GET /admin/communications/notification-categories/{id}/notifications HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"notifications": [
{
"id": "b86ab9b3-ab76-4633-8030-ec990d27a974",
"name": "Welcome",
"eventName": "WELCOME_NOTIFICATION",
"description": "lorem Ipsum is simply dummy text of the printing and typesetting industry",
"isMandatory": true,
"notificationCategoryId": "b0a600fa-8860-42a6-8a6a-6521e90749b1"
}
]
}
}
Successful Operation.
{"statusCode":200,"data":{"notifications":[{"id":"b86ab9b3-ab76-4633-8030-ec990d27a974","name":"Welcome","eventName":"WELCOME_NOTIFICATION","description":"lorem Ipsum is simply dummy text of the printing and typesetting industry","isMandatory":true,"notificationCategoryId":"b0a600fa-8860-42a6-8a6a-6521e90749b1"}]}}
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
GET /admin/communications/notifications HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"notifications": [
{
"id": "b86ab9b3-ab76-4633-8030-ec990d27a974",
"name": "Welcome",
"eventName": "WELCOME_NOTIFICATION",
"description": "lorem Ipsum is simply dummy text of the printing and typesetting industry",
"isMandatory": true,
"notificationCategoryId": "b0a600fa-8860-42a6-8a6a-6521e90749b1"
}
]
}
}
Welcome
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
true
b0a600fa-8860-42a6-8a6a-6521e90749b1
Successful Operation.
{"statusCode":201}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
Internal server error.
POST /admin/communications/notifications HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 192
{
"name": "Welcome",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"isMandatory": true,
"notificationCategoryId": "b0a600fa-8860-42a6-8a6a-6521e90749b1"
}
{
"statusCode": 201
}
Successful Operation.
{"statusCode":200,"data":{"id":"b86ab9b3-ab76-4633-8030-ec990d27a974","name":"Welcome","eventName":"WELCOME_NOTIFICATION","description":"lorem Ipsum is simply dummy text of the printing and typesetting industry","isMandatory":true,"notificationCategoryId":"b0a600fa-8860-42a6-8a6a-6521e90749b1"}}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
GET /admin/communications/notifications/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "b86ab9b3-ab76-4633-8030-ec990d27a974",
"name": "Welcome",
"eventName": "WELCOME_NOTIFICATION",
"description": "lorem Ipsum is simply dummy text of the printing and typesetting industry",
"isMandatory": true,
"notificationCategoryId": "b0a600fa-8860-42a6-8a6a-6521e90749b1"
}
}
Welcome
Lorem Ipsum is simply dummy text of the printing and typesetting industry.
false
b0a600fa-8860-42a6-8a6a-6521e90749b1
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
PUT /admin/communications/notifications/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 193
{
"name": "Welcome",
"description": "Lorem Ipsum is simply dummy text of the printing and typesetting industry.",
"isMandatory": false,
"notificationCategoryId": "b0a600fa-8860-42a6-8a6a-6521e90749b1"
}
{
"statusCode": 200
}
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
DELETE /admin/communications/notifications/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
Successful Operation.
{"statusCode":200,"data":{"channels":[{"id":"d44cc91d-0fa7-4cc0-85af-f3dd57fee292","type":"PUSH","template":"ca91d88c-21c1-48da-95ac-8b57fdc62869","isCustomTemplate":false,"notificationId":"b86ab9b3-ab76-4633-8030-ec990d27a974"}]}}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
GET /admin/communications/notifications/{id}/channels HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"channels": [
{
"id": "d44cc91d-0fa7-4cc0-85af-f3dd57fee292",
"type": "PUSH",
"template": "ca91d88c-21c1-48da-95ac-8b57fdc62869",
"isCustomTemplate": false,
"notificationId": "b86ab9b3-ab76-4633-8030-ec990d27a974"
}
]
}
}
Successful Operation.
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
GET /admin/communications/channels/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200,
"data": {
"id": "d44cc91d-0fa7-4cc0-85af-f3dd57fee292",
"type": "PUSH",
"template": "ca91d88c-21c1-48da-95ac-8b57fdc62869",
"isCustomTemplate": false,
"notificationId": "b86ab9b3-ab76-4633-8030-ec990d27a974"
}
}
PUSH
Possible values: ca91d88c-21c1-48da-95ac-8b57fdc62869
false
b86ab9b3-ab76-4633-8030-ec990d27a974
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
PUT /admin/communications/channels/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"type": "PUSH",
"template": "ca91d88c-21c1-48da-95ac-8b57fdc62869",
"isCustomTemplate": false,
"notificationId": "b86ab9b3-ab76-4633-8030-ec990d27a974"
}
{
"statusCode": 200
}
Successful Operation.
{"statusCode":200}
Error processing the information
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
DELETE /admin/communications/channels/{id} HTTP/1.1
Host:
Authorization: Bearer JWT
Accept: */*
{
"statusCode": 200
}
PUSH
Possible values: ca91d88c-21c1-48da-95ac-8b57fdc62869
false
b86ab9b3-ab76-4633-8030-ec990d27a974
Successful Operation.
{"statusCode":201}
Failed because the authentication token was not sent or it has already expired.
The token is correct but you need a specific role to access this endpoint
Error processing the information
POST /admin/communications/channels HTTP/1.1
Host:
Authorization: Bearer JWT
Content-Type: application/json
Accept: */*
Content-Length: 146
{
"type": "PUSH",
"template": "ca91d88c-21c1-48da-95ac-8b57fdc62869",
"isCustomTemplate": false,
"notificationId": "b86ab9b3-ab76-4633-8030-ec990d27a974"
}
{
"statusCode": 201
}
Last updated
Was this helpful?