List Notification Template Defaults
GEThttps://sailpoint.api.identitynow.com/v2024/notification-template-defaults
This API is currently in an experimental state. The API is subject to change based on feedback and further testing. You must include the X-SailPoint-Experimental header and set it to true
to use this endpoint.
This lists the default templates used for notifications, such as emails from IdentityNow.
Request
Query Parameters
Possible values: <= 250
Max number of results to return. See V3 API Standard Collection Parameters for more information.
250
Offset into the full result set. Usually specified with limit to paginate through the results. See V3 API Standard Collection Parameters for more information.
0
Filter results using the standard syntax described in V3 API Standard Collection Parameters
Filtering is supported for the following fields and operators:
key: eq, in, sw
medium: eq, sw
locale: eq, sw
Header Parameters
Use this header to enable this experimental API.
true
Responses
- 200
- 400
- 401
- 403
- 429
- 500
A list of the default template objects
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
The key of the default template
cloud_manual_work_item_summary
The name of the default template
Task Manager Subscription
The message medium. More mediums may be added in the future.
Possible values: [EMAIL
, PHONE
, SMS
, SLACK
, TEAMS
]
EMAIL
The locale for the message text, a BCP 47 language tag.
en
The subject of the default template
You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.
The header value is now located within the body field. If included with non-null values, will result in a 400.
null
The body of the default template
Please go to the task manager
The footer value is now located within the body field. If included with non-null values, will result in a 400.
null
The "From:" address of the default template
$__global.emailFromAddress
The "Reply To" field of the default template
$__global.emailFromAddress
The description of the default template
Daily digest - sent if number of outstanding tasks for task owner > 0
slackTemplate objectnullable
teamsTemplate objectnullable
[
{
"key": "cloud_manual_work_item_summary",
"name": "Task Manager Subscription",
"medium": "EMAIL",
"locale": "en",
"subject": "You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.",
"body": "Please go to the task manager",
"from": "$__global.emailFromAddress",
"replyTo": "$__global.emailFromAddress",
"description": "Daily digest - sent if number of outstanding tasks for task owner > 0",
"slackTemplate": {
"key": "string",
"text": "string",
"blocks": "string",
"attachments": "string",
"notificationType": "string",
"approvalId": "string",
"requestId": "string",
"requestedById": "string",
"isSubscription": true,
"autoApprovalData": {
"isAutoApproved": "string",
"itemId": "string",
"itemType": "string",
"autoApprovalMessageJSON": "string",
"autoApprovalTitle": "string"
},
"customFields": {
"requestType": "string",
"containsDeny": "string",
"campaignId": "string",
"campaignStatus": "string"
}
},
"teamsTemplate": {
"key": "string",
"title": "string",
"text": "string",
"messageJSON": "string",
"isSubscription": true,
"approvalId": "string",
"requestId": "string",
"requestedById": "string",
"notificationType": "string",
"autoApprovalData": {
"isAutoApproved": "string",
"itemId": "string",
"itemType": "string",
"autoApprovalMessageJSON": "string",
"autoApprovalTitle": "string"
},
"customFields": {
"requestType": "string",
"containsDeny": "string",
"campaignId": "string",
"campaignStatus": "string"
}
}
}
]
Client Error - Returned if the request body is invalid.
- application/json
- Schema
- Example (auto)
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
Unauthorized - Returned if there is no authorization header, or if the JWT token is expired.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
JWT validation failed: JWT is expired
{
"error": "JWT validation failed: JWT is expired"
}
Forbidden - Returned if the user you are running as, doesn't have access to this end-point.
- application/json
- Schema
- Example (auto)
- 403
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 403 response object
{
"detailCode": "403 Forbidden",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The server understood the request but refuses to authorize it."
}
]
}
Too Many Requests - Returned in response to too many requests in a given period of time - rate limited. The Retry-After header in the response includes how long to wait before trying again.
- application/json
- Schema
- Example (auto)
Schema
A message describing the error
Rate Limit Exceeded
{
"message": " Rate Limit Exceeded "
}
Internal Server Error - Returned if there is an unexpected error.
- application/json
- Schema
- Example (auto)
- 500
Schema
Fine-grained error code providing more detail of the error.
400.1 Bad Request Content
Unique tracking id for the error.
e7eab60924f64aa284175b9fa3309599
messages object[]
causes object[]
{
"detailCode": "400.1 Bad Request Content",
"trackingId": "e7eab60924f64aa284175b9fa3309599",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
],
"causes": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "The request was syntactically correct but its content is semantically invalid."
}
]
}
An example of a 500 response object
{
"detailCode": "500.0 Internal Fault",
"trackingId": "b21b1f7ce4da4d639f2c62a57171b427",
"messages": [
{
"locale": "en-US",
"localeOrigin": "DEFAULT",
"text": "An internal fault occurred."
}
]
}
Authorization: oauth2
type: Personal Access Tokenscopes: idn:notification-template-defaults:read
- go
- powershellSailPoint SDK
- pythonSailPoint SDK
- csharp
- curl
- dart
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- r
- ruby
- rust
- shell
- swift
- NATIVE