Notification sender API
The Notification Senders API (version v1).
Download the OpenAPI definition (YAML)
Security schemes
BasicAuth: HTTP basic
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize
Email Senders
Get a list of email senders
GET /notification-senders/email
This API provides the capability to retrieve the list of email senders.
Scope(Permission) required: internal_notification_senders_view
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful Response | EmailProviderList |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Create an email sender
POST /notification-senders/email
This API provides the capability to create an email sender.\n\nIf the 'name' is not not defined, 'EmailPublisher' is taken as the default name.
Scope(Permission) required: internal_notification_senders_create
Request body: application/json
Schema: EmailSenderAdd
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
smtpServerHost | string | ||
smtpPort | integer | ||
fromAddress | string | Yes | |
userName | string | ||
password | string | ||
properties | array of Properties |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Successful Response | EmailSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
409 | Conflict | Error |
500 | Server Error | Error |
Retrieve an email sender by name
GET /notification-senders/email/{sender-name}
This API provides the capability to retrieve an email sender by name.
The URL encoded email sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_view
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the email sender |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful Response | EmailSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Update an email sender
PUT /notification-senders/email/{sender-name}
This API provides the capability to update an email sender by name.
The URL encoded email sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_update
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the email sender |
Request body (required): application/json
Schema: EmailSenderUpdateRequest
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
smtpServerHost | string | ||
smtpPort | integer | ||
fromAddress | string | Yes | |
userName | string | ||
password | string | ||
properties | array of Properties |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful Response | EmailSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Delete an email sender by name
DEL /notification-senders/email/{sender-name}
This API provides the capability to delete an email sender by name.
The URL encoded email sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the email sender |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
SMS Senders
Get a list of SMS senders
GET /notification-senders/sms
This API provides the capability to retrieve a list of SMS notification senders.
Scope(Permission) required: internal_notification_senders_view
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | SMSProviderList |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Create a SMS sender
POST /notification-senders/sms
This API provides the capability to create a SMS sender.
If the 'name' is not not defined, 'SMSPublisher' is taken as the default name.
Scope(Permission) required: internal_notification_senders_create
Request body: application/json
Schema: SMSSenderAdd
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
provider | string | Yes | |
providerURL | string | Yes | |
key | string | ||
secret | string | ||
sender | string | ||
contentType | string | Yes | Allowed values: |
properties | array of Properties |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Successful Response | SMSSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
409 | Conflict | Error |
500 | Server Error | Error |
Get a SMS sender by name
GET /notification-senders/sms/{sender-name}
This API provides the capability to retrieve a SMS notification sender by name.
The URL encoded SMS sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_view
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the SMS sender |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | SMSSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Update a SMS sender
PUT /notification-senders/sms/{sender-name}
This API provides the capability to update a SMS Sender.
The URL encoded SMS sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_update
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the SMS sender |
Request body (required): application/json
Schema: SMSSenderUpdateRequest
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | |
providerURL | string | Yes | |
key | string | ||
secret | string | ||
sender | string | ||
contentType | string | Yes | Allowed values: |
properties | array of Properties |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | SMSSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Delete a SMS sender by name
DEL /notification-senders/sms/{sender-name}
This API provides the capability to delete a SMS sender by name.
The URL encoded SMS sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the SMS sender |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Push Senders
Get a list of push notification senders
GET /notification-senders/push
This API provides the capability to retrieve the list of push notification senders.
Scope(Permission) required: internal_notification_senders_view
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | PushProviderList |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Create a push notification sender
POST /notification-senders/push
This API provides the capability to create a push notification sender.
If the 'name' is not not defined, 'PushPublisher' is taken as the default name.
Scope(Permission) required: internal_notification_senders_create
Request body: application/json
Schema: PushSenderAdd
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
provider | string | Yes | |
properties | array of Properties | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Successful Response | PushSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
409 | Conflict | Error |
500 | Server Error | Error |
Get a push sender by name
GET /notification-senders/push/{sender-name}
This API provides the capability to retrieve a push notification sender by name.
The URL encoded push sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_view
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the push sender |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | PushSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Update a push notification sender
PUT /notification-senders/push/{sender-name}
This API provides the capability to update a push notification sender.
The URL encoded push notification sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_update
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the push notification sender |
Request body (required): application/json
Schema: PushSenderUpdateRequest
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | |
properties | array of Properties | Yes |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successful response | PushSender |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Delete a push notification sender by name
DEL /notification-senders/push/{sender-name}
This API provides the capability to delete a push notification sender by name.
The URL encoded push notification sender name is used as sender-name.
Scope(Permission) required: internal_notification_senders_delete
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
sender-name | path | string | Yes | name of the push notification sender |
Responses
| Code | Description | Schema |
|---|---|---|
204 | No Content | |
400 | Bad Request | Error |
401 | Unauthorized | |
403 | Forbidden | |
404 | Not Found | Error |
405 | Method Not Allowed. | Error |
500 | Server Error | Error |
Schemas
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | ||
message | string | ||
description | string | ||
traceId | string |
EmailSenderAdd
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
smtpServerHost | string | ||
smtpPort | integer | ||
fromAddress | string | Yes | |
userName | string | ||
password | string | ||
properties | array of Properties |
SMSSenderAdd
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
provider | string | Yes | |
providerURL | string | Yes | |
key | string | ||
secret | string | ||
sender | string | ||
contentType | string | Yes | Allowed values: |
properties | array of Properties |
PushSenderAdd
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | ||
provider | string | Yes | |
properties | array of Properties | Yes |
EmailSender
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
smtpServerHost | string | ||
smtpPort | integer | ||
fromAddress | string | Yes | |
userName | string | ||
password | string | ||
properties | array of Properties |
SMSSender
Type: object
8 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
provider | string | Yes | |
providerURL | string | Yes | |
key | string | ||
secret | string | ||
sender | string | ||
contentType | string | Yes | Allowed values: |
properties | array of Properties |
PushSender
Type: object
3 properties
| Name | Type | Required | Description |
|---|---|---|---|
name | string | Yes | |
provider | string | Yes | |
properties | array of Properties |
EmailSenderUpdateRequest
Type: object
6 properties
| Name | Type | Required | Description |
|---|---|---|---|
smtpServerHost | string | ||
smtpPort | integer | ||
fromAddress | string | Yes | |
userName | string | ||
password | string | ||
properties | array of Properties |
SMSSenderUpdateRequest
Type: object
7 properties
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | |
providerURL | string | Yes | |
key | string | ||
secret | string | ||
sender | string | ||
contentType | string | Yes | Allowed values: |
properties | array of Properties |
PushSenderUpdateRequest
Type: object
2 properties
| Name | Type | Required | Description |
|---|---|---|---|
provider | string | Yes | |
properties | array of Properties | Yes |
EmailProviderList
Type: array of EmailSender
PushProviderList
Type: array of PushSender
Was this page helpful?