Skip to main content
Get Templates

Get Templates

Retrieve a list of all message templates in your account.

Parameters

string
required
Your API key for authentication
string
required
Your client identifier for authentication

Response

number
Error code (0 for success)
string
Description of the result
array
Array of template objects
number
Unique identifier for the template
number
Company identifier
string
Name of the template
string
Template content with placeholders
boolean
Whether the template is approved
boolean
Whether the template is currently active
string
Date when the template was created
string
Date when the template was approved

Success Response

Template Features

  • Placeholders: Use ##Field## for dynamic content
  • Approval: Templates may require approval before use
  • Reusability: Create templates for common message types
  • Consistency: Ensure consistent messaging across campaigns

Template Examples

OTP Template

Welcome Template

Reminder Template

Use Cases

  • Consistency: Maintain consistent messaging across all communications
  • Efficiency: Save time by reusing approved templates
  • Compliance: Use pre-approved templates for regulated content
  • Personalization: Combine templates with dynamic data for personalized messages