Create Notification Template
POST {{baseUrl}}/notification-templates
This creates a template for your site.
You can also use this endpoint to update a template. First, copy the response body from the get notification template endpoint for a template you wish to update and paste it into the request body for this endpoint. Modify the fields you want to change and submit the POST request when ready.
Request Body
{"key"=>"cloud_manual_work_item_summary", "medium"=>"EMAIL", "locale"=>"en", "name"=>"Task Manager Subscription", "subject"=>"You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.", "header"=>nil, "body"=>"Please go to the task manager", "footer"=>nil, "from"=>"$__global.emailFromAddress", "replyTo"=>"$__global.emailFromAddress", "description"=>"Daily digest - sent if number of outstanding tasks for task owner > 0", "id"=>"c17bea3a-574d-453c-9e04-4365fbf5af0b", "created"=>"2020-01-01T00:00:00.000000Z", "modified"=>"2020-01-01T00:00:00.000000Z", "slackTemplate"=>"officia velit veniam incididunt", "teamsTemplate"=>"id elit reprehenderit dolore"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-SailPoint-Experimental | boolean | (Required) Use this header to enable this experimental API. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"key":"cloud_manual_work_item_summary","medium":"EMAIL","locale":"en","name":"Task Manager Subscription","subject":"You have $numberOfPendingTasks $taskTasks to complete in ${__global.productName}.","header":null,"body":"Please go to the task manager","footer":null,"from":"$__global.emailFromAddress","replyTo":"$__global.emailFromAddress","description":"Daily digest - sent if number of outstanding tasks for task owner \u003e 0","id":"c17bea3a-574d-453c-9e04-4365fbf5af0b","created":"2020-01-01T00:00:00.000000Z","modified":"2020-01-01T00:00:00.000000Z","slackTemplate":"officia velit veniam incididunt","teamsTemplate":"id elit reprehenderit dolore"}