Skip to main content
GET
/
v2
/
{workspace}
/
template
List Templates
curl -X GET "https://management-api.suprsend.com/v2/{workspace}/template/?mode=live" \
  --header 'Authorization: ServiceToken <token>' \
  --header 'Content-Type: application/json'
{
  "meta": {
    "count": 22,
    "limit": 10,
    "offset": 0
  },
  "results": [
    {
      "$schema": "https://schema.suprsend.com/template/v2/schema.json",
      "slug": "order-confirmation-email",
      "created_at": "2026-04-07T10:39:28.502737Z",
      "last_triggered_at": "2026-04-07T16:45:34.549989Z",
      "name": "Order Confirmation Email",
      "description": "Email template for order confirmation notifications",
      "tags": [],
      "enabled_channels": [
        "email"
      ],
      "status": "active",
      "version_no": 4,
      "hash": "637edaabc624d09db3793829ea872a3516ed0362ce79ee3875607fc7317381b9",
      "commit_message": null,
      "active_at": "2026-04-07T16:42:13.821446Z",
      "updated_at": "2026-04-07T16:42:13.827644Z",
      "updated_by": {
        "name": "Jane Smith",
        "email": "jane.smith@example.com"
      },
      "channels": [
        {
          "channel": "email",
          "is_active": true,
          "variants_count": 1
        }
      ]
    },
    {
      "$schema": "https://schema.suprsend.com/template/v2/schema.json",
      "slug": "payment-confirmation",
      "created_at": "2026-04-07T07:05:13.747248Z",
      "last_triggered_at": null,
      "name": "Payment Confirmation",
      "description": "Payment confirmation notification with order details",
      "tags": [],
      "enabled_channels": [
        "email",
        "inbox"
      ],
      "status": "active",
      "version_no": 2,
      "hash": "ea6007ab4cffac8f110e15145eedbd40b5897fcc880717411416b9cdb64b170e",
      "commit_message": null,
      "active_at": "2026-04-07T07:27:53.708887Z",
      "updated_at": "2026-04-07T07:27:53.715438Z",
      "updated_by": {
        "name": "Alex Johnson",
        "email": "alex.johnson@example.com"
      },
      "channels": [
        {
          "channel": "email",
          "is_active": true,
          "variants_count": 1
        },
        {
          "channel": "inbox",
          "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 (e.g., staging, production).

Query Parameters

mode
enum<string>
default:draft

Return draft or live version of templates.

Available options:
draft,
live
limit
integer
default:20

Number of results per page.

offset
integer
default:0

Offset for pagination.

q
string

Search by template name or slug.

Response

Successfully retrieved list of templates

meta
object
results
object[]