Assign Template to Campaign Message
POSThttps://a.klaviyo.com/api/campaign-message-assign-template
Creates a non-reusable version of the template and assigns it to the message.
- Revision header
revision: 2025-01-15required- Scopes
campaigns:write- Rate limits
- Burst:
10/sSteady:150/m
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Responses
201Success
Content type: application/vnd.api+json
Show 5 fields
The message ID
Show 7 fields
The label or name on the message
The channel the message is to be sent on
Additional attributes relating to the content of the message
Option 1:
EmailContentSubObjectThe subject of the message
Preview text associated with the message
The email the message should be sent from
The label associated with the from_email
Optional Reply-To email address
Optional CC email address
Optional BCC email address
The list of appropriate Send Time Sub-objects associated with the message
The datetime when the message was created
The datetime when the message was last updated
Show 2 fields
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json