List All Notification Policies
Changed onList All Notification Policies
Request
- Base URLhttps://sandbox.sequencehq.com/api
- URLhttps://sandbox.sequencehq.com/api/notifications/policies
- Authnone declared. Required headers: Authorization
Query parameters
Filter policies by notification type
Maximum number of objects to return per-page. Must be between 1 and 100 (inclusive).
Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.after or pagination.before to retrieve each page.
Pagination offset. To page through items, omit this parameter to retrieve the first page, and then successively use the value you get from pagination.next or pagination.previous to retrieve each page.
Headers
Your API credentials. Eg. Basic {credentials}.
Use this header to select an API version
Response
OK
Example response
{
"items": [
{
"id": "9c4c54e7-59da-44ae-9cc5-7fd81be7c133",
"createdAt": "2022-06-28T16:47:00Z",
"sequenceAccountId": "c4602d51-0fb4-4b48-b689-6ba28f540d1e",
"name": "Finance team emails",
"notificationTypes": [
"CUSTOMER_CREATED"
],
"recipients": [
"finance@example.com"
],
"channel": "EMAIL"
}
],
"pagination": {
"after": "ZTMwOWU5NDgtMDg4ZS00ZDc3LWI2NTQtY2Q4NTQ5OGYxNTU1IzE2NTgyNjA4NTYwMzMwMTMjREVTQw==",
"before": "NjRlZjJmZjktMmJjYi00M2RiLWI0ZDUtOTAxMDU4MjRiMTdmIzE2NTgyNjA3NTk3NTE2ODEjQVND",
"totalResultSize": 100
}
}Changes
- breaking
for the
queryrequest parameterlimit, the format changed from no format toint32 - warning
deleted the
headerrequest parameterSequence-Version - info
added the new optional
headerrequest parametersequence-version
- breaking
- info
added the new optional
queryrequest parameternotificationType - info
added the non-success response with the status
- info