Instant Messaging Delivery Settings
WhatsApp delivery settings data model
| Property | Type | Required | Mutable | Description |
|---|---|---|---|---|
|
String |
Required |
Mutable |
The ID of the WhatsApp app you are using for sending the notifications. |
|
String |
Required |
Mutable |
The secret for the WhatsApp app you are using for sending the notifications. |
|
Date |
N/A |
Read-only |
Date and time that the delivery settings were created. |
|
String |
N/A |
Read-only |
The ID of the PingOne environment. |
|
String |
N/A |
Read-only |
The ID assigned to the delivery settings. |
|
Array |
Optional |
Mutable |
The |
|
Boolean |
N/A |
Read-only |
Specifies whether the number is currently available in the account. |
|
Array |
N/A |
Read-only |
For WhatsApmp settings, will always consist of a single element, |
|
Date |
N/A |
Read-only |
The time the resource was created. |
|
String |
Required |
Mutable |
The number for sending notifications. |
|
String |
Required |
Mutable |
The ID of the number for sending notifications. |
|
String |
N/A |
Read-only |
The current WhatsApp quality rating for the number. |
|
Boolean |
Required |
Mutable |
Set to |
|
String |
N/A |
Read-only |
For WhatsApp settings, the value returned is |
|
String |
N/A |
Read-only |
The verified name for the number. |
|
String |
Required |
Mutable |
For configuring WhatsApp settings, set the value to |
|
String |
Required |
Mutable |
The access token for the WhatsApp business account. |
|
String |
Required |
Mutable |
The ID of the WhatsApp business account. |
|
String |
N/A |
Read-only |
The status of the creation of the delivery settings. In the response to the create request, the value is |
|
String |
N/A |
Read-only |
For WhatsApp settings, the value returned is |
|
Date |
N/A |
Read-only |
Date and time that the delivery settings were last updated. |
|
Object |
N/A |
Read-only |
Included in the response if you included |
|
String |
N/A |
Read-only |
The category of the template. Currently will always be |
|
String |
N/A |
Read-only |
The WhatsApp-provided ID of the template. |
|
String |
N/A |
Read-only |
The language of the template. |
|
String |
N/A |
Read-only |
The name of the template. |
Instant messaging delivery settings errors
In addition to the general error codes, instant messaging delivery settings operations can return the following errors:
| HTTP status | Top‑level code | Detail code | When it happens and what the response contains |
|---|---|---|---|
400 |
|
|
Message: When and detailsWhen: A create or update request body fails constraint validation (for example, the request omits Details: Detail |
400 |
|
None |
Message: When and detailsWhen: A request body is malformed JSON or contains a value of the wrong type (for example, a non-UUID Details: For JSON deserialization failures, detail |
400 |
|
|
Message: When and detailsWhen: A create request omits Details: Detail |
400 |
|
|
Message: When and detailsWhen: A create or update request fails to retrieve the phone numbers from the WhatsApp business account (the WhatsApp API rejects the account ID or access token). Details: Detail |
201 (no error) |
None |
None |
Message: None. No error response is returned; read the settings to observe the failure. When and detailsWhen: A create request completes but the asynchronous WhatsApp webhook creation fails (the app ID or app secret is rejected by WhatsApp). The create response itself succeeds; the asynchronous task then stores the resource with Details: None. |
400 |
|
|
Message: When and detailsWhen: A Details: Detail |
400 |
|
|
Message: When and detailsWhen: A create request exceeds the maximum of 10 instant messaging delivery settings per environment. Details: Detail |
403 |
|
None |
Message: When and detailsWhen: The actor lacks the permission for the operation: Details: None. |
404 |
|
None |
Message: When and detailsWhen: A request specifies an environment that does not exist. Details: None. |
404 |
|
|
Message: When and detailsWhen: A request specifies an Details: Detail |