Creates a new template. Template don't have to contain values set for all possible fields. If there is no value present for one of the field, during applying the template such field will be ignored.
Title of event. Can be omitted if body is provided.
Can contain only plain text. HTML tags and other forms of formatting are not allowed.
Templates without title set will ignore event title when applied.
Title of event. Can be omitted if title is provided.
Can contain basic HTML tags and is being interpreted as HTML.
Templates without body set will ignore event body when applied.
List of labels for this template. Template can have many labels.
If passing just one label, it should still be passed as an array: "labels": ["some label value"].
- Main US regionhttps://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/incident_templates
- EU regionhttps://subdomain-of-your-account.app-eu1.statushub.io/api/v3/hubs/{subdomain}/incident_templates
curl -i -X POST \
'https://subdomain-of-your-account.app.statushub.io/api/v3/hubs/{subdomain}/incident_templates?api_version=V3-R1' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"title": "string",
"body": "string",
"incident_type": "investigating",
"labels": [
"string"
],
"service_statuses": [
{
"service_id": 1234,
"status": "down"
}
],
"silent_update": true
}'OK
Title of event.
Templates without title set will ignore event title when applied.
Timestamp of record creation.
ISO8601 formatted time (UTC).
Timestamp of last modification of record.
ISO8601 formatted time (UTC).
{ "id": 38, "title": "string", "labels": [ "string" ], "flags": { "deleted": true, "silent": true }, "incident_type": "investigating", "body": "string", "created_at": "2020-09-01T08:29:00Z", "updated_at": "2020-09-01T08:29:00Z", "author": "string", "service_statuses": [ { … } ] }