Sent LogoSent API Docs

Templates API

Retrieve message templates for consistent messaging across SMS and WhatsApp channels.

Endpoints

Key Features

  • Dynamic Variables: Numbered IDs with unified props and types
  • Multi-channel: Channel-specific bodies with multiChannel fallback
  • Category Support: Templates organized by category (Marketing, Utility, Authentication)

Authentication

All endpoints require the following headers:

  • x-api-key: Customer API key
  • x-sender-id: Customer/sender ID (UUID format)

Error Responses

Standard error format with title, detail, and status fields. Common scenarios: 400 (validation), 401 (missing/invalid auth headers), 404 (not found), 500 (server error).

Rate Limits

  • Create Template: 10 requests/minute
  • Get Templates: 100 requests/minute
  • Get Template by ID: 100 requests/minute
  • Delete Template: 10 requests/minute