Docs/SMS/Templates

SMS Templates

Create reusable message templates with dynamic variables.

Creating Templates

POST /v1/templates

{
  "name": "order_confirmation",
  "content": "Hi {{name}}, your order #{{order_id}} has been confirmed.",
  "variables": ["name", "order_id"]
}

Using Templates

POST /v1/sms/send

{
  "to": "+1234567890",
  "template_id": "tpl_abc123",
  "variables": {
    "name": "John",
    "order_id": "ORD-12345"
  }
}