Skip to content

Save wording for incidents you declare often. An account keeps up to 100 templates.

POST
/incident_template
curl --request POST \
--url https://api.siteqwality.com/incident_template \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "title": "example", "message": "example", "severity": "minor", "status": "investigating" }'
Media type application/json

A template on create, and its full new state on edit.

object
name
required

Up to 100 characters, unique per account.

string
title
required

Up to 512 characters.

string
message
required

Up to 10,000 characters.

string
severity
One of:
string
Allowed values: minor major critical
status
One of:

Investigating, identified or monitoring.

string
Allowed values: investigating identified monitoring resolved

Template created

Media type application/json

Reusable incident wording. Picking one in the app fills the title, message and severity.

object
id
required
string format: uuid
name
required

Unique per account, ignoring case.

string
title
required
string
message
required
string
severity
One of:
string
Allowed values: minor major critical
status
One of:

The status of the incident’s first update: investigating, identified or monitoring.

string
Allowed values: investigating identified monitoring resolved
created_at
required
string format: date-time
updated_at
required
string format: date-time
Example
{
"severity": "minor",
"status": "investigating"
}

A blank or too long field, or a resolved status

Missing or invalid authentication

The name is taken, or the account has 100 templates

Internal server error