Notifications Settings
The notifications settings endpoints provide the ability to configure specific notifications settings for each environment. They implement operations to read, update and reset the settings for the environment.
|
You need the Environment Admin role to perform operations on notifications settings resources. |
Configure an SMS/Voice provider fallback chain
The sequence of SMS/Voice providers in smsProvidersFallbackChain comprises the notification fallback sequence, in the event of a primary or subsequent provider failing to send the notification.
-
The providers must be configured in the Phone Delivery Settings resource.
-
Update the notifications setting resource by using the PUT {{apiPath}}/environments/{{envID}}/notificationsSettings/ operation. For example, to define your own provider (represented here as
TwilioPhoneDeliverySettingsId) as the primary provider, and Ping’s Twilio account as the fallback:{ "smsProvidersFallbackChain": [ "TwilioPhoneDeliverySettingsId", "PINGONE_TWILIO" ] }
Notifications settings properties
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Array |
Optional |
Mutable |
For email notifications, you can use the Ping server or a customer server/provider that you have defined. If you defined a custom server/provider and want to switch to the Ping server, send an update request and include the |
|
String |
Required |
Immutable |
The environment resource’s unique identifier. |
|
String |
Optional |
Mutable |
The email’s "from" name. |
|
String |
Optional |
Mutable |
The email’s "from" address. This value must be a trusted email address. |
|
String |
Optional |
Mutable |
The email’s "reply to" name. |
|
String |
Optional |
Mutable |
The email’s "reply to" address. This value must be a trusted email address. |
|
Array |
Optional |
Mutable |
A comma-separated list that represents the execution order of different SMS/Voice providers configured for the environment. The providers and their accounts' configurations are represented in the list by the ID of the corresponding |
|
Date |
N/A |
Read-Only |
The time the resource was last updated. |
|
Notifications settings events generated
Refer to Audit Reporting Events for the events generated.
Notifications settings response codes
| Code | Message |
|---|---|
200 |
Successful operation. |
201 |
Successfully created. |
400 |
The request could not be completed. |
401 |
You do not have access to this resource. |
403 |
You do not have permissions or are not licensed to make this request. |
404 |
The requested resource was not found. |