curl "https://api.telzino.com/v1/email-templates?status=active" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X POST https://api.telzino.com/v1/email-templates \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft"
}'
{
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft",
"version": 1
}
}
{ "error": "email_templates_locked" }
{ "error": "A template with this name already exists." }
Email Templates
List and Create Email Templates
List email templates across your organizations, or create a new one
GET
/
v1
/
email-templates
curl "https://api.telzino.com/v1/email-templates?status=active" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X POST https://api.telzino.com/v1/email-templates \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft"
}'
{
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft",
"version": 1
}
}
{ "error": "email_templates_locked" }
{ "error": "A template with this name already exists." }
List — Query Parameters
string
Filter to a single organization (must belong to your account).
string
One of
draft, active, archived.integer
default:"1"
integer
default:"50"
Maximum 100.
curl "https://api.telzino.com/v1/email-templates?status=active" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
curl -X POST https://api.telzino.com/v1/email-templates \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft"
}'
Create — Body Parameters
string
required
The organization to create the template in (must belong to your account).
string
required
Unique per organization, max 100 characters.
string
Max 998 characters (RFC 5322). Required when creating directly as
active.string
Raw HTML with
{{token}} placeholders. Stored as-is.string
Optional sender display name; supports tokens. Max 128 characters.
string
Optional, max 300 characters.
string[]
string
default:"draft"
draft or active.{
"data": {
"id": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"organization_id": "11111111-1111-1111-1111-111111111111",
"name": "Appointment confirmation",
"subject": "Your appointment with {{business_name}}",
"body_html": "<p>Hi {{caller_name|there}}, your appointment is confirmed.</p>",
"from_name": "{{business_name}}",
"status": "draft",
"version": 1
}
}
{ "error": "email_templates_locked" }
{ "error": "A template with this name already exists." }
