Send Notification
You can use the notifications endpoint to send a test notification to a mobile application by including the query parameter sync=true.
{{apiPath}}/environments/{{envID}}/notifications?sync=true
Send Notifications data model
| Property | Type? | Required? | Mutable? | Description |
|---|---|---|---|---|
|
Sting |
Required |
Immutable |
The ID of the mobile application associated with the push message. |
|
String |
Required |
Immutable |
The text for the body of the push message. |
|
Date |
N/A |
Read-only |
The time the resource was created. |
|
String |
Required |
Immutable |
Must be set to |
|
String |
Required |
Immutable |
The messaging service to be used. Should be one of the following values: |
|
String |
N/A |
Read-only |
The ID of the relevant PingOne environment. |
|
String |
N/A |
Read-only |
The ID of the resource created. |
|
String |
N/A |
Read-only |
The ID of the notification policy. |
|
String |
Required |
Immutable |
The push token for the relevant application on the device. |
|
String |
N/A |
Read-only |
The result of the test push. If the push succeeded, value will be |
|
String |
Required |
Immutable |
The title for the push message. |
|
Date |
N/A |
Read-only |
The time the resource was last updated. |
|
String |
N/A |
Read-only |
The type of push credential used. Will be APNS (for Apple), FCM_HTTP_V1 (for Google), HMS (for Huawei), or FCM (used previously for Google, no longer supported). |