Skip to main content
GET
/
v1
/
templates
/
{slug}
Get a template
curl --request GET \
  --url https://senderkit.com/api/v1/templates/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "slug": "<string>",
  "description": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z",
  "currentVersion": {
    "versionNumber": 123,
    "content": {},
    "variables": [
      {}
    ],
    "publishedAt": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

API key with an sk_live_ or sk_test_ prefix.

Path Parameters

slug
string
required

Template slug.

Response

Template detail, including its current published version.

slug
string
channel
enum<string>
Available options:
email,
sms,
push
description
string | null
status
enum<string>
Available options:
active,
draft,
archived
updatedAt
string<date-time>
currentVersion
object