Incident Templates
The subdomain of your status page.
You can find this under your status page settings, the Subdomain field is found under the "Domain name" section. Alternatively find it in the URL of your admin dashboard (e.g. statuspal.io/admin/subdomain).
A status page's incident templates
Authorization information is missing or invalid.
You lack the necessary permissions to access this resource.
A resource with the provided ID was not found.
Unexpected error.
GET /api/v2/status_pages/{subdomain}/incident_templates HTTP/1.1
Host: statuspal.io
Authorization: YOUR_API_KEY
Accept: */*
{
"incident_templates": [
{
"id": 1,
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
]
}The subdomain of your status page.
You can find this under your status page settings, the Subdomain field is found under the "Domain name" section. Alternatively find it in the URL of your admin dashboard (e.g. statuspal.io/admin/subdomain).
The incident template created
Bad request error. Probably JSON syntax is wrong, check with jsonlint.com.
Authorization information is missing or invalid.
You lack the necessary permissions to access this resource.
A resource with the provided ID was not found.
There was a validation error
Unexpected error.
POST /api/v2/status_pages/{subdomain}/incident_templates HTTP/1.1
Host: statuspal.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 311
{
"incident_template": {
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
}{
"incident_template": {
"id": 1,
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
}Get incident template against given incident template id
The subdomain of your status page.
You can find this under your status page settings, the Subdomain field is found under the "Domain name" section. Alternatively find it in the URL of your admin dashboard (e.g. statuspal.io/admin/subdomain).
The ID of an incident template
The incident template details
Authorization information is missing or invalid.
You lack the necessary permissions to access this resource.
A resource with the provided ID was not found.
Unexpected error.
GET /api/v2/status_pages/{subdomain}/incident_templates/{incidentTemplateId} HTTP/1.1
Host: statuspal.io
Authorization: YOUR_API_KEY
Accept: */*
{
"incident_template": {
"id": 1,
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
}Updates existing incident template
The subdomain of your status page.
You can find this under your status page settings, the Subdomain field is found under the "Domain name" section. Alternatively find it in the URL of your admin dashboard (e.g. statuspal.io/admin/subdomain).
The ID of an incident template
The incident template updated
Bad request error. Probably JSON syntax is wrong, check with jsonlint.com.
Authorization information is missing or invalid.
You lack the necessary permissions to access this resource.
A resource with the provided ID was not found.
There was a validation error
Unexpected error.
PUT /api/v2/status_pages/{subdomain}/incident_templates/{incidentTemplateId} HTTP/1.1
Host: statuspal.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 311
{
"incident_template": {
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
}{
"incident_template": {
"id": 1,
"name": "Database outage",
"title": "Incident template title",
"description": "Some description",
"service_ids": [
1
],
"incident_types": [
"major"
],
"translations": {
"en": {
"title": "English title",
"description": "English description"
},
"es": {
"title": "Spanish title",
"description": "Spanish description"
}
}
}
}Deletes incident template permanently
The subdomain of your status page.
You can find this under your status page settings, the Subdomain field is found under the "Domain name" section. Alternatively find it in the URL of your admin dashboard (e.g. statuspal.io/admin/subdomain).
The ID of an incident template
Incident template deleted successfully
Authorization information is missing or invalid.
You lack the necessary permissions to access this resource.
A resource with the provided ID was not found.
Unexpected error.
DELETE /api/v2/status_pages/{subdomain}/incident_templates/{incidentTemplateId} HTTP/1.1
Host: statuspal.io
Authorization: YOUR_API_KEY
Accept: */*
No content
Last updated