entities
Get one template by slug
GET /v1/templates/{slug}
Auth required
api.templates.view
Returns one template by its file name (the slug — e.g.
welcome.html). Returns 404 not_found when the slug is unknown
in this org.
Path parameters
slug string required Template file name (e.g. welcome.html).
Responses
Errors follow the RFC 7807 problem format — see the error reference.
200 Template detail application/json
slug string required Template file name (e.g. welcome.html).
name string required Same as slug today (no separate display-name column).
subject string | null required Always null in v1 — subject is not tracked as a column. Reserved
for future use.
channel string | null required Always null in v1 — template-to-channel binding is not tracked
as a column. Reserved for future use.
version string required Short (7-char) Git commit SHA of the last sync. Empty string for legacy rows synced before SHAs were tracked.
last_modified_at string<date-time> required Time the template was last synced — not the upstream commit timestamp.
source string enum required One of: git
401 Missing, malformed, or unknown API key application/problem+json
403 Key lacks the required scope or plan limit violated application/problem+json
404 Resource not found application/problem+json
422 Query parameter or path value failed validation application/problem+json
429 Per-org rate limit exceeded application/problem+json
500 Unexpected server-side failure. The
code is internal_error. The
request_id field can be quoted to SendOps support to investigate.
application/problem+json