Create Universal Content
POSThttps://a.klaviyo.com/api/template-universal-content
Create universal content. Only text blocks, which can include text or HTML, are supported at this time.
- Revision header
revision: 2025-01-15required- Scopes
templates: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
Show 2 fields
Show 2 fields
The name for this universal content
Option 1:
HTMLBlockOption 2:
TextBlockShow 3 fields
Enter valid JSON. Until you do, the example request uses the example value.
Show 25 fields
Border style.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Font style.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a number. Until you do, the example request uses the example value.
Text Alignment.
Text table layout.
Responses
201Success
Content type: application/vnd.api+json
Show 4 fields
The ID of the universal content
Show 6 fields
The name for this universal content
Option 5:
HTMLBlockOption 13:
TextBlockShow 3 fields
Show 25 fields
Border style.
Font style.
Text Alignment.
Text table layout.
The datetime when this universal content was created
The datetime when this universal content was updated
The status of a universal content screenshot.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json