Get Template
GET {{baseUrl}}/api/templates/:id/
Get a template with the given template ID.
Rate limits:
Burst: 10/s
Steady: 150/m
Scopes:
templates:read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields[template] | string | For more information please visit https://developers.klaviyo.com/en/v2023-09-15/reference/api-overview#sparse-fieldsets |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Accept | string |
RESPONSES
status: OK
{"data":{"type":"template","id":"\u003cstring\u003e","attributes":{"name":"\u003cstring\u003e","editor_type":"\u003cstring\u003e","html":"\u003cstring\u003e","text":"\u003cstring\u003e","created":"\u003cdateTime\u003e","updated":"\u003cdateTime\u003e"},"links":{"self":"\u003curi\u003e"}}}