Skip to main content

Documentation Index

Fetch the complete documentation index at: https://developers.sendazi.com/llms.txt

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

Overview

Message templates help you create reusable messages with dynamic placeholders for personalization. Instead of writing the same message repeatedly, create a template once and use it across multiple campaigns.

Creating Templates

Basic Template

{
  "name": "Welcome Message",
  "content": "Hello [First Name]! Welcome to our service.",
  "type": "sms"
}

Template with Multiple Placeholders

{
  "name": "Order Confirmation",
  "content": "Hi [First Name], your order has been confirmed. We'll deliver to your registered phone number [Phone Number].",
  "type": "sms"
}

Available Placeholders

PlaceholderDescriptionExample Output
[First Name]Contact’s first name”John”
[Last Name]Contact’s last name”Doe”
[Phone Number]Contact’s phone number”233241234567”
[Email]Contact’s emailjohn@example.com

Template Types

SMS Templates

Text message templates for SMS campaigns

Voice Templates

Script templates for voice campaigns (text-to-speech)

Use Cases

Greet new customers with a personalized welcome message.
Hello [First Name]! Welcome to MYCOMPANY. 
Reply HELP for assistance.
Keep customers informed about their orders.
Hi [First Name], your order #12345 is on its way! 
Track it at mycompany.com/track
Reduce no-shows with automated reminders.
Hi [First Name], this is a reminder about your 
appointment tomorrow at 10:00 AM.
Send targeted promotions to your customers.
[First Name], exclusive offer just for you! 
Get 20% off your next purchase. Use code: SAVE20

Best Practices

Test your templates: Always send a test message to verify placeholders are working correctly before launching a campaign.
Character limits: SMS messages are limited to 160 characters per segment. Plan your templates accordingly.

Template Writing Tips

  1. Keep it concise: Get to the point quickly
  2. Include a call-to-action: Tell recipients what to do next
  3. Add opt-out info: Include unsubscribe instructions for marketing messages
  4. Avoid special characters: Some characters may not display correctly on all phones

API Reference

Message Templates API

Create and manage templates programmatically