Skip to main content
You're reading Identity & Access Management 7.0.0. The newest release is 7.3.0, and Cloud has the newest features. Go to the newest release

Notification sender API

Download OpenAPI (YAML)Version v1

Base URL: https://localhost:9443/t/carbon.super/api/server/v1

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

CodeDescriptionSchema
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 defined, 'EmailPublisher' is taken as the default name.

Scope(Permission) required: internal_notification_senders_create

Request body: application/json

Schema: EmailSenderAdd

7 properties
NameTypeRequiredDescription
namestring
smtpServerHoststring
smtpPortinteger
fromAddressstringYes
userNamestring
passwordstring
propertiesarray of Properties

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the email sender

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the email sender

Request body (required): application/json

Schema: EmailSenderUpdateRequest

6 properties
NameTypeRequiredDescription
smtpServerHoststring
smtpPortinteger
fromAddressstringYes
userNamestring
passwordstring
propertiesarray of Properties

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the email sender

Responses

CodeDescriptionSchema
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

CodeDescriptionSchema
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 defined, 'SMSPublisher' is taken as the default name.

Scope(Permission) required: internal_notification_senders_create

Request body: application/json

Schema: SMSSenderAdd

8 properties
NameTypeRequiredDescription
namestring
providerstringYes
providerURLstringYes
keystring
secretstring
senderstring
contentTypestringYes

Allowed values: JSON, FORM

propertiesarray of Properties

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the SMS sender

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the SMS sender

Request body (required): application/json

Schema: SMSSenderUpdateRequest

7 properties
NameTypeRequiredDescription
providerstringYes
providerURLstringYes
keystring
secretstring
senderstring
contentTypestringYes

Allowed values: JSON, FORM

propertiesarray of Properties

Responses

CodeDescriptionSchema
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

NameInTypeRequiredDescription
sender-namepathstringYes

name of the SMS sender

Responses

CodeDescriptionSchema
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
NameTypeRequiredDescription
codestring
messagestring
descriptionstring
traceIdstring

EmailSenderAdd​

Type: object

7 properties
NameTypeRequiredDescription
namestring
smtpServerHoststring
smtpPortinteger
fromAddressstringYes
userNamestring
passwordstring
propertiesarray of Properties

SMSSenderAdd​

Type: object

8 properties
NameTypeRequiredDescription
namestring
providerstringYes
providerURLstringYes
keystring
secretstring
senderstring
contentTypestringYes

Allowed values: JSON, FORM

propertiesarray of Properties

EmailSender​

Type: object

7 properties
NameTypeRequiredDescription
namestringYes
smtpServerHoststring
smtpPortinteger
fromAddressstringYes
userNamestring
passwordstring
propertiesarray of Properties

SMSSender​

Type: object

8 properties
NameTypeRequiredDescription
namestringYes
providerstringYes
providerURLstringYes
keystring
secretstring
senderstring
contentTypestringYes

Allowed values: JSON, FORM

propertiesarray of Properties

EmailSenderUpdateRequest​

Type: object

6 properties
NameTypeRequiredDescription
smtpServerHoststring
smtpPortinteger
fromAddressstringYes
userNamestring
passwordstring
propertiesarray of Properties

SMSSenderUpdateRequest​

Type: object

7 properties
NameTypeRequiredDescription
providerstringYes
providerURLstringYes
keystring
secretstring
senderstring
contentTypestringYes

Allowed values: JSON, FORM

propertiesarray of Properties

Properties​

Type: object

2 properties
NameTypeRequiredDescription
keystringYes
valuestringYes

EmailProviderList​

Type: array of EmailSender

SMSProviderList​

Type: array of SMSSender

Was this page helpful?