Klaviyo Templates API

templates

Operations 12

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/templates List email templates · Get Templates #
Ask an LLM
“What email templates do I have in my Klaviyo account?”
“Can I include the full drag-and-drop definition when listing templates?”
Tell an agent
List all my email templates.
Show templates matching {filter}, sorted by {sort}.
POST /api/templates Create an HTML or drag-and-drop template · Create Template #
Ask an LLM
“How do I upload a new HTML email template?”
“Is there a cap on how many templates I can create through the API?”
Tell an agent
Create a template from this HTML: {template}.
Add a new drag-and-drop template named {template}.
GET /api/templates/{id} Get one template by ID · Get Template #
Ask an LLM
“How do I view the HTML of a specific template?”
“Can I fetch one template with its full definition?”
Tell an agent
Get template {template_id}.
Show template {template_id} including {additional_fields}.
PATCH /api/templates/{id} Update a template's content · Update Template #
Ask an LLM
“Can I replace the HTML of a template I already created?”
“What's the way to rename an existing template?”
Tell an agent
Update template {template_id} with {changes}.
Replace the HTML in template {template_id} with {changes}.
DELETE /api/templates/{id} Delete a template · Delete Template #
Ask an LLM
“How do I get rid of an email template I no longer use?”
“Can I delete a template by its ID?”
Tell an agent destructive · confirm first
Delete template {template_id}.
Remove the outdated template {template_id}.
GET /api/template-universal-content List universal content blocks · Get All Universal Content #
Ask an LLM
“Which reusable universal content blocks exist in my account?”
“Can I filter universal content by name or date?”
Tell an agent
List all universal content blocks.
Show universal content matching {filter}.
POST /api/template-universal-content Create a universal content block · Create Universal Content #
Ask an LLM
“How do I create a reusable content block like a footer button or text?”
“Which block types are supported for universal content?”
Tell an agent
Create universal content {content_block}.
Add a reusable text or button block defined as {content_block}.
GET /api/template-universal-content/{id} Get one universal content block · Get Universal Content #
Ask an LLM
“What's inside a specific universal content block?”
“Can I fetch a reusable block by its ID?”
Tell an agent
Get universal content {content_id}.
Show the definition of reusable block {content_id}.
PATCH /api/template-universal-content/{id} Update a universal content block · Update Universal Content #
Ask an LLM
“Can I edit a shared content block so every email using it changes?”
“Which block types allow their definition to be updated?”
Tell an agent
Update universal content {content_id} with {changes}.
Change the definition of reusable block {content_id} to {changes}.
DELETE /api/template-universal-content/{id} Delete a universal content block · Delete Universal Content #
Ask an LLM
“How do I remove a reusable content block?”
“Can I delete universal content by ID?”
Tell an agent destructive · confirm first
Delete universal content {content_id}.
Remove the reusable block {content_id} from my account.
POST /api/template-render Render a template with sample context · Render Template #
Ask an LLM
“How can I preview what a template looks like with real profile data filled in?”
“Can I get the HTML, AMP and plain text versions of a rendered template?”
Tell an agent
Render the template with this context: {render_request}.
Preview a template's HTML and text output using {render_request}.
POST /api/template-clone Clone a template · Clone Template #
Ask an LLM
“Can I make a copy of an existing template to edit separately?”
“Does cloning count toward the template creation limit?”
Tell an agent
Clone the template given in {clone_request}.
Make a copy of a template under a new name: {clone_request}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/klaviyo:klaviyo-templates-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

klaviyo-templates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Klaviyo Templates API
  version: '2026-04-15'
  description: The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details.
  contact:
    name: Klaviyo Developer Experience Team
    email: developers@klaviyo.com
    url: https://developers.klaviyo.com
  termsOfService: https://www.klaviyo.com/legal/api-terms
  license:
    name: License
    url: https://www.klaviyo.com/legal
servers:
- url: https://a.klaviyo.com
  description: Production
security:
- Klaviyo-API-Key: []
tags:


# --- truncated at 32 KB (163 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/klaviyo/refs/heads/main/openapi/klaviyo-templates-api-openapi.yml