Skip to main content
GET
/
v1
/
template
/
{template_slug}
/
channel
/
{channel_slug}
Fetch Template content for a channel
curl --request GET \
  --url https://hub.suprsend.com/v1/template/{template_slug}/channel/{channel_slug} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1121,
  "channel": {
    "name": "In-App Inbox",
    "slug": "inbox",
    "is_template_approval_needed": false
  },
  "is_active": true,
  "is_enabled": true,
  "created_at": "2022-06-18T04:53:58.690274Z",
  "updated_at": "2025-01-21T11:49:23.247217Z",
  "disabled_languages": [],
  "versions": [
    {
      "id": 69989,
      "templates": [
        {
          "id": 74660,
          "language": {
            "name": "English",
            "slug": "en"
          },
          "is_enabled": true,
          "approval_status": "auto_approved",
          "content": {
            "...": null
          },
          "created_at": "2024-09-15T04:33:22.727005Z",
          "updated_at": "2024-09-15T04:36:56.103368Z",
          "updated_by": {
            "name": "Siva",
            "email": "katta.sivaram@suprsend.com"
          },
          "approval_cycle": null,
          "is_approval_needed": false,
          "is_cloned_from_last_version": false
        }
      ],
      "status": "active",
      "version_tag": "17",
      "created_at": "2024-09-15T04:33:22.714274Z",
      "updated_at": "2024-09-15T04:36:58.752580Z",
      "updated_by": {
        "name": "Siva",
        "email": "katta.sivaram@suprsend.com"
      },
      "version_tag_user": "v1",
      "published_languages": [
        "en"
      ],
      "apparent_published_languages": [
        "en"
      ],
      "system_approval_info": {}
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.suprsend.com/llms.txt

Use this file to discover all available pages before exploring further.

Legacy API. This is the older endpoint to fetch template content for a specific channel. We have released template 2.0 with variant support due to which the content structure and template APIs have changed. The new APIs are listed under Management API → Templates.This endpoint continues to return the live and draft content of templates created before 14 April 2026. Templates created on or after that date are only available through the new APIs.

Authorizations

Authorization
string
header
required

Pass as Bearer <API_KEY>. Get API Key from SuprSend dashboard Developers -> API Keys section.

Path Parameters

template_slug
string
required

Template group slug you want to fetch content details. You'll get the template slug by clicking on copy button next to template group name on SuprSend dashboard -> template details page.

channel_slug
string
required

add one of the template channels - email, sms, whatsapp, inbox, slack, androidpush, iospush, webpush

Response

200

id
integer

template id generated by SuprSend

channel
object
is_active
boolean

active templates have atleast 1 live version

is_enabled
boolean

disabled channels are not picked for sending the message

Example:

true

created_at
string<date-time>
Example:

"2023-01-25T04:53:40.011112Z"

updated_at
string<date-time>
Example:

"2023-07-27T14:55:23.939438Z"

disabled_languages
string[]
versions
object[]