POST
/
incident-templates
curl --request POST \
  --url http://localhost/api/incident-templates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "template": "<string>",
  "engine": "blade"
}'
{
  "data": {
    "id": "<string>",
    "type": "incidentTemplates",
    "attributes": {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "template": "<string>",
      "engine": "<string>",
      "created": {
        "human": "<string>",
        "string": "<string>"
      },
      "updated": {
        "human": "<string>",
        "string": "<string>"
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
`CreateIncidentTemplateRequestData`
name
string
required
Maximum length: 255
template
string
required
engine
enum<string> | null
Available options:
blade,
twig

Response

200
application/json
`IncidentTemplate`
data
object
required