List the account's incident templates by name.
GET
/incident_template
const url = 'https://api.siteqwality.com/incident_template';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.siteqwality.com/incident_template \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Templates by name
Media type application/json
Array<object>
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
status
created_at
required
string format: date-time
updated_at
required
string format: date-time
Example
[ { "severity": "minor", "status": "investigating" }]Missing or invalid authentication
Internal server error