---
title: "Get Notification Content"
method: GET
path: "/notifications/{id}/content"
tags: ["Templates"]
---

# Get Notification Content

`GET /notifications/{id}/content`

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

## Path parameters

- `id` string, required

## Query parameters

- `version` string

## Response `200`

Template content retrieved.

- union
  - NotificationContentGetResponse — Elemental content response for V2 templates. Contains versioned elements with content checksums.
    - `version` string, required — Content version identifier.
    - `elements` ElementWithChecksums[], required
      - `id` string
      - `checksum` string, required — MD5 hash of translatable content.
      - `type` string, required — Element type (text, meta, action, etc.).
      - `elements` ElementWithChecksums[] — Nested child elements (for group-type elements).
      - `locales` object — Locale-specific content with checksums.
  - NotificationGetContentResponse
    - `blocks` NotificationBlock[], nullable
      - `alias` string, nullable
      - `context` string, nullable
      - `id` string, required
      - `type` 'action' | 'divider' | 'image' | 'jsonnet' | 'list' | 'markdown' | 'quote' | 'template' | 'text', required
      - `content` union
        - string
        - NotificationContentHierarchy
          - `parent` string, nullable
          - `children` string, nullable
      - `locales` object, nullable
      - `checksum` string, nullable
    - `channels` NotificationChannel[], nullable
      - `id` string, required
      - `type` string, nullable
      - `content` NotificationChannelContent
        - `subject` string, nullable
        - `title` string, nullable
      - `locales` object, nullable
      - `checksum` string, nullable
    - `checksum` string, nullable

## Other responses

- `404` — Not Found

---

[API](https://skmtc.net/trycourier/apis/courier.md) · [All operations](https://skmtc.net/trycourier/apis/courier/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycourier/courier/versions/04f69fbf96a5/schema)
