Read All Notification Policies
Example Request
-
cURL
-
C#
-
Go
-
HTTP
-
Java
-
jQuery
-
NodeJS
-
Python
-
PHP
-
Ruby
-
Swift
curl --location --globoff '{{apiPath}}/environments/{{envID}}/notificationsPolicies' \
--header 'Authorization: Bearer {{accessToken}}'
var options = new RestClientOptions("{{apiPath}}/environments/{{envID}}/notificationsPolicies")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("", Method.Get);
request.AddHeader("Authorization", "Bearer {{accessToken}}");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "{{apiPath}}/environments/{{envID}}/notificationsPolicies"
method := "GET"
client := &http.Client {
}
req, err := http.NewRequest(method, url, nil)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "Bearer {{accessToken}}")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := io.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}
GET /environments/{{envID}}/notificationsPolicies HTTP/1.1
Host: {{apiPath}}
Authorization: Bearer {{accessToken}}
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("text/plain");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("{{apiPath}}/environments/{{envID}}/notificationsPolicies")
.method("GET", body)
.addHeader("Authorization", "Bearer {{accessToken}}")
.build();
Response response = client.newCall(request).execute();
var settings = {
"url": "{{apiPath}}/environments/{{envID}}/notificationsPolicies",
"method": "GET",
"timeout": 0,
"headers": {
"Authorization": "Bearer {{accessToken}}"
},
};
$.ajax(settings).done(function (response) {
console.log(response);
});
var request = require('request');
var options = {
'method': 'GET',
'url': '{{apiPath}}/environments/{{envID}}/notificationsPolicies',
'headers': {
'Authorization': 'Bearer {{accessToken}}'
}
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
import requests
url = "{{apiPath}}/environments/{{envID}}/notificationsPolicies"
payload = {}
headers = {
'Authorization': 'Bearer {{accessToken}}'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('{{apiPath}}/environments/{{envID}}/notificationsPolicies');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
$request->setHeader(array(
'Authorization' => 'Bearer {{accessToken}}'
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
require "uri"
require "net/http"
url = URI("{{apiPath}}/environments/{{envID}}/notificationsPolicies")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["Authorization"] = "Bearer {{accessToken}}"
response = http.request(request)
puts response.read_body
var request = URLRequest(url: URL(string: "{{apiPath}}/environments/{{envID}}/notificationsPolicies")!,timeoutInterval: Double.infinity)
request.addValue("Bearer {{accessToken}}", forHTTPHeaderField: "Authorization")
request.httpMethod = "GET"
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
Example Response
200 OK
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies"
}
},
"_embedded": {
"notificationsPolicies": [
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/162ff6b3-43d1-4cde-86ae-425d22048b2e"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "162ff6b3-43d1-4cde-86ae-425d22048b2e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 50
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:31.993Z",
"createdAt": "2022-05-15T09:21:25.459Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/2f7de32c-9b2d-4947-ae86-bd6ed2255338"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "2f7de32c-9b2d-4947-ae86-bd6ed2255338",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User 11 Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 11
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.010Z",
"createdAt": "2022-06-16T11:23:08.720Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/3e53d25e-4c62-4f83-aa79-420641e7664e"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "3e53d25e-4c62-4f83-aa79-420641e7664e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Environment Level Notification Policy",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 1000
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.013Z",
"createdAt": "2022-05-15T09:32:19.551Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": true
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/49a06359-5c3b-47de-9e77-9e3eb2d58e5d"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "49a06359-5c3b-47de-9e77-9e3eb2d58e5d",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with custom providers",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 80
},
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"Email"
],
"total": 100
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"SE",
"JP",
"CA"
]
},
"updatedAt": "2025-01-13T16:05:15.987Z",
"createdAt": "2025-01-13T16:04:51.038Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"CA"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"SE"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"JP"
],
"fallbackChain": [
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
},
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/62b4279f-1bd6-4bdf-9db0-5f38d4bfdc32"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "62b4279f-1bd6-4bdf-9db0-5f38d4bfdc32",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User Notification Policy - SMS/voice and email limits",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 30
},
{
"type": "USER",
"deliveryMethods": [
"Email"
],
"total": 25
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.017Z",
"createdAt": "2023-04-16T11:33:38.090Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/73ad4d29-33b2-4272-9805-363108700668"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "73ad4d29-33b2-4272-9805-363108700668",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with country limitation",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 1000
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"US",
"CA"
]
},
"updatedAt": "2024-09-17T14:26:32.020Z",
"createdAt": "2023-03-29T11:18:28.622Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/9ac09c18-27d9-477f-a338-3438cea37601"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
}
},
"id": "9ac09c18-27d9-477f-a338-3438cea37601",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User - used/not used - Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"unclaimed": 45,
"claimed": 35
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.025Z",
"createdAt": "2022-05-15T09:22:40.971Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"default": false
}
]
},
"count": 7,
"size": 7
}
Example Response
200 OK
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies"
}
},
"_embedded": {
"notificationsPolicies": [
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/162ff6b3-43d1-4cde-86ae-425d22048b2e"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/162ff6b3-43d1-4cde-86ae-425d22048b2e/phoneDeliverySettings"
}
},
"id": "162ff6b3-43d1-4cde-86ae-425d22048b2e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 50
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:31.993Z",
"createdAt": "2022-05-15T09:21:25.459Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/2f7de32c-9b2d-4947-ae86-bd6ed2255338"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/2f7de32c-9b2d-4947-ae86-bd6ed2255338/phoneDeliverySettings"
}
},
"id": "2f7de32c-9b2d-4947-ae86-bd6ed2255338",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User 11 Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 11
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.010Z",
"createdAt": "2022-06-16T11:23:08.720Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/3e53d25e-4c62-4f83-aa79-420641e7664e"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/3e53d25e-4c62-4f83-aa79-420641e7664e/phoneDeliverySettings"
}
},
"id": "3e53d25e-4c62-4f83-aa79-420641e7664e",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Environment Level Notification Policy",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 1000
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.013Z",
"createdAt": "2022-05-15T09:32:19.551Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": true
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/49a06359-5c3b-47de-9e77-9e3eb2d58e5d"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/49a06359-5c3b-47de-9e77-9e3eb2d58e5d/phoneDeliverySettings"
}
},
"id": "49a06359-5c3b-47de-9e77-9e3eb2d58e5d",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with custom providers",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 80
},
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"Email"
],
"total": 100
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"SE",
"JP",
"CA"
]
},
"updatedAt": "2025-01-13T16:05:15.987Z",
"createdAt": "2025-01-13T16:04:51.038Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"CA"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"SE"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"JP"
],
"fallbackChain": [
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
},
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/5b9d2230-ce20-4407-a4dc-45b536e7f302"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/5b9d2230-ce20-4407-a4dc-45b536e7f302/phoneDeliverySettings"
}
},
"id": "5b9d2230-ce20-4407-a4dc-45b536e7f302",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Environment-level notification policy with country limitation and custom provider preference - updated",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 1000
},
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"Email"
],
"total": 100
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"SE",
"JP",
"CA"
]
},
"updatedAt": "2025-01-16T11:41:46.501Z",
"createdAt": "2025-01-15T10:17:07.572Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"CA"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"SE"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"countries": [
"JP"
],
"fallbackChain": [
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
},
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
}
]
},
{
"deliveryMethods": [
"VOICE",
"SMS"
],
"fallbackChain": [
{
"id": "8e17615d-0c23-4295-abfb-0e503bd4a22c"
},
{
"id": "fdbe47fe-24f9-41f6-91bc-9aff48e41c8e"
},
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/62b4279f-1bd6-4bdf-9db0-5f38d4bfdc32"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/62b4279f-1bd6-4bdf-9db0-5f38d4bfdc32/phoneDeliverySettings"
}
},
"id": "62b4279f-1bd6-4bdf-9db0-5f38d4bfdc32",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User Notification Policy - SMS/voice and email limits",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 30
},
{
"type": "USER",
"deliveryMethods": [
"Email"
],
"total": 25
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.017Z",
"createdAt": "2023-04-16T11:33:38.090Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/73ad4d29-33b2-4272-9805-363108700668"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/73ad4d29-33b2-4272-9805-363108700668/phoneDeliverySettings"
}
},
"id": "73ad4d29-33b2-4272-9805-363108700668",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with country limitation",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"total": 1000
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"US",
"CA"
]
},
"updatedAt": "2024-09-17T14:26:32.020Z",
"createdAt": "2023-03-29T11:18:28.622Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/9ac09c18-27d9-477f-a338-3438cea37601"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/9ac09c18-27d9-477f-a338-3438cea37601/phoneDeliverySettings"
}
},
"id": "9ac09c18-27d9-477f-a338-3438cea37601",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Per-User - used/not used - Notification Policy",
"quotas": [
{
"type": "USER",
"deliveryMethods": [
"SMS",
"Voice",
"WhatsApp"
],
"unclaimed": 45,
"claimed": 35
}
],
"countryLimit": {
"type": "NONE"
},
"updatedAt": "2024-09-17T14:26:32.025Z",
"createdAt": "2022-05-15T09:22:40.971Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/b4633c7e-bd48-4996-8ce9-c28ea6b5851d"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/b4633c7e-bd48-4996-8ce9-c28ea6b5851d/phoneDeliverySettings"
}
},
"id": "b4633c7e-bd48-4996-8ce9-c28ea6b5851d",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with environment limit and country limitation",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 1000
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"US",
"CA"
]
},
"updatedAt": "2025-03-12T11:34:32.515Z",
"createdAt": "2025-01-13T16:23:15.042Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 30,
"timeUnit": "SECONDS"
},
{
"duration": 2,
"timeUnit": "MINUTES"
},
{
"duration": 3,
"timeUnit": "MINUTES"
}
],
"resendLimit": 5
},
"email": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 30,
"timeUnit": "SECONDS"
},
{
"duration": 1,
"timeUnit": "MINUTES"
},
{
"duration": 2,
"timeUnit": "MINUTES"
}
],
"resendLimit": 4
},
"voice": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 41,
"timeUnit": "SECONDS"
},
{
"duration": 2,
"timeUnit": "MINUTES"
},
{
"duration": 4,
"timeUnit": "MINUTES"
}
],
"resendLimit": 6
},
"whatsApp": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 45,
"timeUnit": "SECONDS"
},
{
"duration": 1,
"timeUnit": "MINUTES"
},
{
"duration": 2,
"timeUnit": "MINUTES"
}
],
"resendLimit": 8
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/c1201f6e-2317-4f4a-8b82-417263c0a9bf"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/c1201f6e-2317-4f4a-8b82-417263c0a9bf/phoneDeliverySettings"
}
},
"id": "c1201f6e-2317-4f4a-8b82-417263c0a9bf",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with environment limit and country limitation and no cooldown defined",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 1000
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"US",
"CA"
]
},
"updatedAt": "2025-03-26T09:20:52.733Z",
"createdAt": "2025-03-26T09:20:52.736Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": false
},
"email": {
"enabled": false
},
"voice": {
"enabled": false
},
"whatsApp": {
"enabled": false
}
},
"default": false
},
{
"_links": {
"self": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/faedb6c3-feaf-4b6c-8b84-cc88d80758aa"
},
"environment": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"providersFallbackChain": {
"href": "https://api.pingone.eu/v1/environments/abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6/notificationsPolicies/faedb6c3-feaf-4b6c-8b84-cc88d80758aa/phoneDeliverySettings"
}
},
"id": "faedb6c3-feaf-4b6c-8b84-cc88d80758aa",
"environment": {
"id": "abfba8f6-49eb-49f5-a5d9-80ad5c98f9f6"
},
"name": "Notification policy with environment limit and country limitation and cooldown periods",
"quotas": [
{
"type": "ENVIRONMENT",
"deliveryMethods": [
"SMS",
"Voice"
],
"total": 1000
}
],
"countryLimit": {
"type": "ALLOWED",
"deliveryMethods": [
"SMS",
"Voice"
],
"countries": [
"US",
"CA"
]
},
"updatedAt": "2025-03-26T09:19:21.243Z",
"createdAt": "2025-03-26T09:19:21.253Z",
"providerConfiguration": {
"conditions": [
{
"deliveryMethods": [
"SMS"
],
"fallbackChain": [
{
"id": "bd237e31-c920-406e-bb50-0f083b24f1e3"
}
]
}
]
},
"cooldownConfiguration": {
"sms": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 30,
"timeUnit": "SECONDS"
},
{
"duration": 2,
"timeUnit": "MINUTES"
},
{
"duration": 3,
"timeUnit": "MINUTES"
}
],
"resendLimit": 5
},
"email": {
"enabled": true,
"groupBy": "",
"periods": [
{
"duration": 30,
"timeUnit": "SECONDS"
},
{
"duration": 1,
"timeUnit": "MINUTES"
},
{
"duration": 2,
"timeUnit": "MINUTES"
}
],
"resendLimit": 4
},
"voice": {
"enabled": true,
"groupBy": "USER_ID",
"periods": [
{
"duration": 40,
"timeUnit": "SECONDS"
},
{
"duration": 2,
"timeUnit": "MINUTES"
},
{
"duration": 4,
"timeUnit": "MINUTES"
}
],
"resendLimit": 6
},
"whatsApp": {
"enabled": true,
"groupBy": "USER_ID",
"periods": [
{
"duration": 15,
"timeUnit": "SECONDS"
},
{
"duration": 2,
"timeUnit": "MINUTES"
},
{
"duration": 4,
"timeUnit": "MINUTES"
}
],
"resendLimit": 7
}
},
"default": false
}
]
},
"count": 11,
"size": 11
}