curl https://api2.ecomailapp.cz/templates \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1234,
"folder": 0,
"name": "Some Template Name",
"html": "<html>Html code here...</html>",
"campaign_id": 5678,
"created_at": "2024-02-12 15:13:16",
"updated_at": "2024-02-12 15:13:26"
}
]
Templates
List all templates
Retrieve all email templates in your account.
GET
/
templates
curl https://api2.ecomailapp.cz/templates \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1234,
"folder": 0,
"name": "Some Template Name",
"html": "<html>Html code here...</html>",
"campaign_id": 5678,
"created_at": "2024-02-12 15:13:16",
"updated_at": "2024-02-12 15:13:26"
}
]
curl https://api2.ecomailapp.cz/templates \
-H "key: YOUR_API_KEY" \
-H "Content-Type: application/json"
[
{
"id": 1234,
"folder": 0,
"name": "Some Template Name",
"html": "<html>Html code here...</html>",
"campaign_id": 5678,
"created_at": "2024-02-12 15:13:16",
"updated_at": "2024-02-12 15:13:26"
}
]
⌘I