---
title: "Fetch Template content for a channel"
method: GET
path: "/v1/template/{template_slug}/channel/{channel_slug}/"
---

# Fetch Template content for a channel

`GET /v1/template/{template_slug}/channel/{channel_slug}/`

## Request

- Base URL: `https://hub.suprsend.com`
- URL: `https://hub.suprsend.com/v1/template/{template_slug}/channel/{channel_slug}/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/suprsend/apis/suprsend-api/docs/v1/template/:template_slug/channel/:channel_slug/get.ts> (a function with typed inputs; its response is checked against the schema)

API to fetch content of a particular channel in a template group (live & draft versions).

## Path parameters

- `template_slug` string, required
- `channel_slug` string, required

## Response `200`

200

- object
  - `id` integer: template id generated by SuprSend
  - `channel` object
    - `name` string: channel type
    - `slug` string: unique slug of the channel
    - `is_template_approval_needed` boolean: is true for channels like whatsapp where template needs to be pre-approved for sending notification
  - `is_active` boolean: active templates have atleast 1 live version
  - `is_enabled` boolean: disabled channels are not picked for sending the message
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `disabled_languages` string[]
  - `versions` object[]
    - `id` integer
    - `templates` object[]
      - `id` integer
      - `language` object
        - `name` string: language name
        - `slug` string: language code
      - `is_enabled` boolean: whether the template is enabled for this language
      - `approval_status` string: approval status of the template (auto_approved, pending, rejected)
      - `content` object: json content of the template
      - `created_at` string, date-time: timestamp of template creation
      - `updated_at` string, date-time: timestamp when the template channel content was last updated
      - `updated_by` object
        - `name` string: team member name who last updated the content
        - `email` string: email of the team member who last updated the content
      - `approval_cycle` string, nullable: approval cycle information
      - `is_approval_needed` boolean: whether approval is needed for this template
      - `is_cloned_from_last_version` boolean: whether this template was cloned from the last version
    - `status` string: version status (active, draft, archived)
    - `version_tag` string: version number
    - `created_at` string, date-time
    - `updated_at` string, date-time
    - `updated_by` object: team member details who last updated the content for the channel
    - `version_tag_user` string: version name added on publish
    - `published_languages` string[]: languages last published in the channel
    - `apparent_published_languages` string[]: languages that appear to be published in the channel
    - `system_approval_info` object: system approval information for the template

## Other responses

- `404`: 404 - Not Found

## Changes

- **2026-07-13** `e54dd32705e8`: 1 breaking, 1 info
  - api path removed without deprecation
  - endpoint added

[Operation history](https://skmtc.dev/suprsend/apis/suprsend-api/changes/v1/template/:template_slug/channel/:channel_slug/get.md)

---

[API](https://skmtc.dev/suprsend/apis/suprsend-api.md) - [All operations](https://skmtc.dev/suprsend/apis/suprsend-api/llms.txt) - [OpenAPI document](https://skmtc.dev/suprsend/apis/suprsend-api/revisions/9e64cbe802a5?raw)
