Skip to main content
GET
/
v1
/
templates
List templates
curl --request GET \
  --url https://api.example.com/v1/templates
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "slug": "<string>",
      "description": "<string>",
      "published": true,
      "createdAt": "<string>"
    }
  ]
}
Returns published templates for regular users. Admins see all templates including drafts.
data
array
curl https://api.getkommit.ai/v1/templates \
  -H "Authorization: Bearer km_your_api_key"