APIs

API Documentation:

Detailed API information present in this Reference - API Document

Example:

Group Notification will use the new notification create API to create notifications as defined in the document Notification Design Discussion.

Create Notification

post

This API allows to send email, sms, device and feed type notifications. This will only be accessible internally by different service to send notification. Template configuration needs to be configured to use this service.

Header parameters
notification-delivery-modestringRequiredExample: sync
tsstringRequired
X-msgidstringRequired
Content-TypestringRequiredExample: application/json
AuthorizationstringRequiredExample: Bearer <key>
Body
Responses
post
/notification/v2/send

Read User Notification Feed

get

This API is used for getting in-App notification of the user

Path parameters
userIdstringRequired

User ID to fetch notifications for

Header parameters
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Responses
get
/notification/v1/feed/read/{userId}

Update Notification Feed Status

patch
Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
patch
/notification/v1/feed/update

Delete Notification Feed

patch
Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
patch
/notification/v1/feed/delete

Create Notification Template

post
Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
post
/notification/v1/template/create

Update Notification Template

patch
Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
patch
/notification/v1/template/update

Delete Notification Template

patch
Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
patch
/notification/v1/template/delete

List all available notification templates

get

Retrieve a list of all notification templates available in the system

Header parameters
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Responses
get
/notification/v1/template/list

Map action to notification template

patch

Associate a notification template with a specific action

Header parameters
Content-Typestring · enumRequiredDefault: application/jsonPossible values:
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Body
Responses
patch
/notification/v1/template/action/update

Get template mapped to an action

get

Retrieve the notification template associated with a specific action

Path parameters
actionstringRequired

The action to get the mapped template for

Example: member-add
Header parameters
AuthorizationstringRequired

Bearer token for API authorization

Example: Bearer <your-auth-token>
x-authenticated-user-tokenstringRequired

User authentication token

x-authenticated-forstringOptional

Managed User token for MUA users

tsstringOptional

Request timestamp

X-msgidstringOptional

Unique request identifier

Responses
get
/notification/v1/template/{action}

Last updated

Was this helpful?