POST /api/templates

Create a new HTML or drag-and-drop template.

If there are 1,000 or more templates in an account, creation will fail as there is a limit of 1,000 templates that can be created via the API.

Request specific fields using sparse fieldsets.

Rate limits:
Burst: 75/s
Steady: 750/m

Scopes: templates:write

OpenAPI Spec

Servers

Request headers

Name Type Required Description
revision String Yes

API endpoint revision (format: YYYY-MM-DD[.suffix])

Default value: "2026-04-15"

Query parameters

Name Type Required Description
fields[template][] Array No

For more information please visit https://developers.klaviyo.com/en/v2026-04-15/reference/api-overview#sparse-fieldsets

additional-fields[template][] Array No

Request additional fields not included by default in the response. Supported values: 'definition'

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.