Skip to main content
Alerting & Response/Alert Templates
GETAlertingSince 1.0SynchronousAuth Required

GetAlertTemplate

Retrieve a specific message template by its identifier

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • templateIdStringRequired

    Template identifier to retrieve

Responses

200 OK

On success, this API returns the following response structure.

  • uuidString

    Unique identifier of the template

    Example: tmpl-001

  • nameString

    Human-readable template name

    Example: Default Email Template

  • formatString

    Template format: markdown, html, json, or plain_text

    Example: markdown

  • contentString

    Template content with variable placeholders

    Example: # Alert: {{.AlertName}}

  • sourceString

    Template source: builtin or custom

    Example: builtin

  • createDateString

    Timestamp when the template was created

    Example: 2026-01-15T08:00:00Z

  • lastOpDateString

    Timestamp of the last template modification

    Example: 2026-01-15T08:00:00Z

Endpoint

GET/api/v1/alerting/templates/{templateId}

/api/v1/alerting/templates/{templateId}

Operation ID

GetAlertTemplate

Permalink

Request Example

curl -X GET '{host}/api/v1/alerting/templates/{templateId}' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "uuid": "tmpl-001",
  "name": "Default Email Template",
  "format": "markdown",
  "content": "# Alert: {{.AlertName}}",
  "source": "builtin",
  "createDate": "example",
  "lastOpDate": "example"
}

Change History

This API has no change history records yet.

View all change history