v2

latestOpenAPI 3.1.12026-07-2613060964.2 KB

List Channel Variants

Retrieve all variants for a specific channel within a template.

get/v2/{workspace}/template/{template_slug}/channel/{channel}/variant/

Path parameters

workspacestring required

Workspace slug.

template_slugstring required

Template slug.

channel'email' | 'sms' | 'whatsapp' | 'inbox' | 'androidpush' | 'iospush' | 'webpush' | 'slack' | 'ms_teams' required

Channel slug.

Response

Successfully retrieved channel variants

Example response

{
  "results": [
    {
      "$schema": "https://schema.suprsend.com/template/v2/variant_schema.json",
      "channel": "email",
      "id": "default",
      "locale": "en"
    }
  ]
}