Skip to main content
GET
/
v1
/
templates
/
{slug}
Get a template
curl --request GET \
  --url https://api.craftkit.dev/v1/templates/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "id": "7c9f0b2e-2b1a-4f3d-9c8e-1a2b3c4d5e6f",
  "name": "Invoice",
  "slug": "invoice",
  "description": "Standard customer invoice",
  "templateType": "document",
  "currentVersionNumber": 3,
  "published": true,
  "manifest": {
    "variables": [
      {
        "key": "customer.name",
        "label": "Customer name",
        "dataType": "text",
        "required": true
      }
    ],
    "loops": []
  },
  "jsonSchema": {
    "type": "object"
  },
  "createdAt": "2026-06-01T09:00:00.000Z",
  "updatedAt": "2026-06-20T14:30:00.000Z"
}

Authorizations

Authorization
string
header
required

Project API key (ck_live_… or ck_test_…) presented as a bearer token. For embed partner endpoints this is the partner secret key, which is the same credential type.

Path Parameters

slug
string
required

The template slug (canonical identifier within the project).

Response

The template.

id
string<uuid>
required
name
string
required
slug
string
required
published
boolean
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string | null
templateType
string
currentVersionNumber
integer | null
manifest
object
jsonSchema
object