Sign in

Render and Send Template

documented

Render a template and send it as a campaign message.

POST /api/email-templates/{template_id}/render-and-sendTemplatesno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://a.klaviyo.com/api/template-render" \
  -X POST \
  -H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
  -H "Content-Type: application/json" \
  -d '{"template_id": "{{$template_id}}", "attributes": {"context": {{$context}}, "return_fields": "amp,html,text"}}'
Render and Send Template · Klaviyo · OpenIntegrations