Email Delivery Settings
Use the emailDeliverySettings endpoint to configure the sending of notifications via an external email service.
Note that you can only have a single set of email delivery settings for an environment, whether it be a custom SMTP mail server or an external email service.
Email delivery settings data model
| Property | Type | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Object |
Required |
Mutable |
Contains the information for authenticating with the email provider. |
|
String |
Required |
Mutable |
If you specified |
|
String |
Required |
Mutable |
The URL of the authorization server that provides the access token. |
|
String |
N/A |
Read-only |
The method used for sending the client ID and secret. Returned in responses for custom providers that require OAuth 2 authentication. Currently, value returned is always |
|
String |
Required |
Mutable |
The client’s public identifier. |
|
String |
Required |
Mutable |
The client’s secret. |
|
String |
N/A |
Read-only |
The grant type used. Returned in responses for custom providers that require OAuth 2 authentication. Currently, value returned is always |
|
String |
Required |
Mutable |
The name of the custom header used for authentication. |
|
String |
Required |
Mutable |
The value to use for the custom header used for authentication. |
|
String |
Required |
Mutable |
The custom provider account’s authentication method. Possible values: * BASIC - username/password * BEARER - bearer token * OAUTH2 - OAuth 2 * CUSTOM_HEADER - authentication using a custom header |
|
String |
Required |
Mutable |
If you specified |
|
String |
Required |
Mutable |
If you specified |
|
String |
N/A |
Read-only |
The environment’s unique identifier. |
|
Object |
Optional |
Mutable |
Contains the "from" information to use for the notifications. |
|
String |
Optional |
Mutable |
The "from" name to use in the notifications that are sent. |
|
String |
Optional |
Mutable |
The "from" address to use in the notifications that are sent. |
|
String |
Required |
Mutable |
Name to use to identify the provider. |
|
String |
Required |
Immutable |
Set to |
|
String |
Required |
Immutable |
Must be set to |
|
Object |
Optional |
Mutable |
Contains the "reply-to" information to use for the notifications. |
|
String |
Optional |
Mutable |
The "reply-to" name to use in the notifications that are sent. |
|
String |
Optional |
Mutable |
The "reply-to" address to use in the notifications that are sent. |
|
Array |
Required |
Mutable |
Contains the object that is used to configure the API requests sent to the email provider. |
|
String |
Required |
Mutable |
Required if * The content of * You must enclose the JSON object in quotation marks and escape all quotation marks within the string, for example, |
|
String |
Required |
Immutable |
Should be set to |
|
Object |
Required |
Mutable |
Use this object to specify the headers that your email provider’s API expects. |
|
String |
Required |
Mutable |
Use |
|
String |
Required |
Mutable |
Use |
|
Date |
N/A |
Read-only |
The date and time the email delivery settings were last updated. |