Skip to main content
POST
/
templates
curl -X POST https://api2.ecomailapp.cz/templates \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "New Template",
    "html": "<b>Template HTML</b>"
  }'
{
  "id": 1,
  "name": "New Template",
  "html": "<b>Template HTML</b>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.ecomail.cz/llms.txt

Use this file to discover all available pages before exploring further.

name
string
required
Template name.
html
string
required
Template HTML content.
curl -X POST https://api2.ecomailapp.cz/templates \
  -H "key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "New Template",
    "html": "<b>Template HTML</b>"
  }'
{
  "id": 1,
  "name": "New Template",
  "html": "<b>Template HTML</b>"
}