Sign in

Create email template

documented

Create an email template.

POST /v1/public/email-template/createEmail Templatesno 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://api.octopush.com/v1/public/email-templates" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "api-key: {{OCTOPUSH_API_KEY}}" \
  -H "api-login: {{OCTOPUSH_SECRET}}" \
  -d '{"name": "{{$template_name}}", "page_title": "{{$title}}", "page_description": "{{$description}}", "html_content": "{{$html}}", "css_content": "{{$css}}", "json_design": "{{$design}}", "unsubscription_mention_language": "{{$lang}}"}'