Creates a new template from provided data
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": "d17f8e2a-a14d-4e81-878b-1d2f48744def",
"type": "status_page_templates",
"attributes": {
"status_page_id": "abd76fb4-bbc5-4380-80a4-7c15aa110f57",
"title": "Created from API",
"body": "This was created from API.",
"update_status": null,
"should_notify_subscribers": false,
"position": 4,
"enabled": true,
"created_at": "2025-07-23T22:48:43.046-07:00",
"updated_at": "2025-07-23T22:48:43.046-07:00",
"kind": "normal"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_event created
The response is of type object
.
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": "d17f8e2a-a14d-4e81-878b-1d2f48744def",
"type": "status_page_templates",
"attributes": {
"status_page_id": "abd76fb4-bbc5-4380-80a4-7c15aa110f57",
"title": "Created from API",
"body": "This was created from API.",
"update_status": null,
"should_notify_subscribers": false,
"position": 4,
"enabled": true,
"created_at": "2025-07-23T22:48:43.046-07:00",
"updated_at": "2025-07-23T22:48:43.046-07:00",
"kind": "normal"
}
}
}