Get Campaign Message Template
GEThttps://a.klaviyo.com/api/campaign-messages/{id}/template/
Return the related template
- Revision header
revision: 2024-02-15required- Scopes
campaigns:readtemplates:read- Rate limits
- Burst:
10/sSteady:150/m
Path parameters
Query parameters
For more information please visit API overview
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2024-02-15
Responses
200Success
Content type: application/json
Show 4 fields
The ID of template
Show 6 fields
The name of the template
editor_typehas a fixed set of values:- SYSTEM_DRAGGABLE: indicates a drag-and-drop editor template
- SIMPLE: A rich text editor template
- CODE: A custom HTML template
- USER_DRAGGABLE: A hybrid template, using custom HTML in the drag-and-drop editor
The rendered HTML of the template
The template plain_text
The date the template was created in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
The date the template was updated in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)
Show 1 field
4XXClient Error
Content type: application/json
5XXServer Error
Content type: application/json