Avnology ID
API ReferenceTemplate

SMS Templates

CRUD for transactional SMS templates.

RPCs

MethodPath
ListSmsTemplatesGET /v1/templates/sms
GetSmsTemplateGET /v1/templates/sms/{id}
CreateSmsTemplatePOST /v1/templates/sms
UpdateSmsTemplatePATCH /v1/templates/sms/{id}
DeleteSmsTemplateDELETE /v1/templates/sms/{id}

Base URL: https://<Domain id="api"/>

Authentication: Bearer token with template:write.

Template shape

{
  "id": "tpl_01H7X...",
  "type": "mfa_code",
  "locale"


Valid type values: verification, recovery, magic_link, mfa_code. SMS messages must be under 160 UCS-2 characters once variables are expanded to avoid multi-segment billing.

Example

Email Templates

CRUD for transactional email templates.

Preview & Duplicate

Render a template with test variables, or duplicate a template across locales / organizations.

On this page