Skip to main content
GET
/
v2
/
{workspace}
/
template
/
{template_slug}
Get Template
curl -X GET "https://management-api.suprsend.com/v2/{workspace}/template/{template_slug}/?mode=live" \
  --header 'Authorization: ServiceToken <token>'
{
  "$schema": "https://schema.suprsend.com/template/v2/schema.json",
  "slug": "order-confirmed",
  "created_at": "2026-04-01T05:57:21.081312Z",
  "last_triggered_at": null,
  "name": "Order Confirmed",
  "description": null,
  "tags": [],
  "enabled_channels": [
    "email"
  ],
  "status": "active",
  "version_no": 1,
  "hash": "16abf987215a02b655d5ef6a8f7f8cc150ffb03fd83b6c235d6c4cc2070ec170",
  "commit_message": null,
  "active_at": "2026-04-01T09:22:02.382889Z",
  "updated_at": "2026-04-01T09:22:02.386223Z",
  "updated_by": {
    "name": "Sam Wilson",
    "email": "sam.wilson@example.com"
  },
  "channels": [
    {
      "channel": "email",
      "is_active": true,
      "variants_count": 1
    }
  ]
}

Authorizations

ServiceToken <token>
string
header
required

You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.

Path Parameters

workspace
string
required

Workspace slug.

template_slug
string
required

Unique template slug.

Query Parameters

mode
enum<string>
default:draft

Return draft or live version.

Available options:
draft,
live

Response

Template details retrieved successfully

The response is of type object.