POST
/
v1
/
status-pages
/
{status_page_id}
/
templates
curl --request POST \
  --url https://api.rootly.com/v1/status-pages/{status_page_id}/templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "status_page_id": "<string>",
  "title": "<string>",
  "body": "<string>",
  "update_status": "<string>",
  "kind": "normal",
  "should_notify_subscribers": true,
  "enabled": true,
  "position": 123,
  "created_at": "<string>",
  "updated_at": "<string>"
}'
{
  "data": {
    "id": "6f4227c2-142c-4195-aadc-29f23daa2aba",
    "type": "status_page_templates",
    "attributes": {
      "status_page_id": "3a0043f2-973c-4266-b712-cfdac78530ea",
      "title": "Created from API",
      "body": "This was created from API.",
      "update_status": null,
      "should_notify_subscribers": false,
      "position": 4,
      "enabled": true,
      "created_at": "2025-03-22T23:05:31.414-07:00",
      "updated_at": "2025-03-22T23:05:31.414-07:00",
      "kind": "normal"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

status_page_id
string
required

Body

application/vnd.api+json
status_page_id
string
required
title
string
required

Title of the template

body
string
required

Description of the event the template will populate

created_at
string
required

Date of creation

updated_at
string
required

Date of last update

update_status
string | null

Status of the event the template will populate

kind
enum<string>

The kind of the status page template

Available options:
normal,
scheduled
should_notify_subscribers
boolean | null

Controls if incident subscribers should be notified

enabled
boolean | null

Enable / Disable the status page template

position
integer

Position of the workflow task

Response

201
application/vnd.api+json
incident_event created
data
object
required