Templates

Get Notification Content

Changed on

Returns a template's content and checksum. V2 templates return Elemental elements, while V1 templates return blocks and channels instead.

get/notifications/{id}/content

Request

Path parameters

idstring required

Notification template ID (nt_ prefix).

Query parameters

versionstring

Accepts draft, published, or a version string (e.g., v001). Defaults to published.

Response

Template content retrieved.

OR

Example response

{
  "version": "2022-01-01"
}

Changes

    • info

      api tag Templates added

    • info

      api tag Notification Templates removed

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional query request parameter version

    • info

      added the non-success response with the status