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": "7cd4d27c-2ad0-49e6-831a-c47a2d0b92fb",
"type": "status_page_templates",
"attributes": {
"status_page_id": "e1cf854f-8f33-4bb0-b5d9-01e5d7d53552",
"title": "Created from API",
"body": "This was created from API.",
"update_status": null,
"should_notify_subscribers": false,
"position": 4,
"enabled": true,
"created_at": "2025-09-03T02:26:02.646-07:00",
"updated_at": "2025-09-03T02:26:02.646-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": "7cd4d27c-2ad0-49e6-831a-c47a2d0b92fb",
"type": "status_page_templates",
"attributes": {
"status_page_id": "e1cf854f-8f33-4bb0-b5d9-01e5d7d53552",
"title": "Created from API",
"body": "This was created from API.",
"update_status": null,
"should_notify_subscribers": false,
"position": 4,
"enabled": true,
"created_at": "2025-09-03T02:26:02.646-07:00",
"updated_at": "2025-09-03T02:26:02.646-07:00",
"kind": "normal"
}
}
}