get https://a.klaviyo.com/api/v1/email-templates
Returns a list of all the email templates you've created. The templates are returned in sorted order by name
.
Response
Returns a list of all the email templates you've created. The templates are returned in sorted order by name
.
xxxxxxxxxx
curl --request GET \
--url 'https://a.klaviyo.com/api/v1/email-templates?page=0&count=50&api_key=PRIVATE_API_KEY' \
--header 'accept: application/json'
xxxxxxxxxx
19{
"object": "$list",
"data": [
{
"object": "email-template",
"id": "TEMPLATE_ID",
"name": "TEMPLATE_NAME",
"html": "<html><head></head><body><p>Some Text</p></body></html>",
"is_writeable": true,
"created": "2021-11-18 03:43:51",
"updated": "2021-11-18 03:43:51"
}
],
"page": 0,
"start": 0,
"end": 1,
"total": 123,
"page_size": 1
}