1. Templates
RASL
  • Introduction
  • Authentication
  • Changelog
  • Messages
    • Overview
    • Send Text Message
      POST
    • Send Media Message
      POST
    • Send Template Message
      POST
    • Send Interactive Message
      POST
    • List Messages
      GET
    • Get Message
      GET
  • Auth (OTP/Verification)
    • Overview
    • Send OTP
      POST
    • Verify OTP
      POST
    • Resend OTP
      POST
    • Check OTP Status
      POST
    • List Authentication Templates
      GET
  • Templates
    • Overview
    • List Templates
      GET
    • Get Template
      GET
    • Sync Templates
      POST
  • Contacts
    • Overview
    • List Contacts
      GET
    • Create Contact
      POST
    • Get Contact
      GET
    • Update Contact
      PATCH
    • Delete Contact
      DELETE
    • Batch Create Contacts
      POST
    • Batch Delete Contacts
      DELETE
  • Groups
    • Overview
    • List Groups
    • Create Group
    • Get Group
    • Update Group
    • Delete Group
    • Add Contacts to Group
    • Remove Contacts from Group
  • Account
    • Overview
    • Get Account Info
    • Get Usage Statistics
    • Get Plan Limits
  • Integrations
    • Webhook Format Reference
    • N8N Webhook Integration
    • eCommerce Webhook Integration
      • Webhook Listener
      • WooCommerce Webhook Setup
Dashboard
Support
Support
  • Email
  • WhatsApp
Dashboard
Support
Support
  • Email
  • WhatsApp
Instagram
  1. Templates

The Templates API allows you to manage and synchronize WhatsApp message templates

Templates are created and approved through Meta Business Manager and automatically synced to RASL. This section provides read-only access to template data along with a synchronization endpoint to refresh your local template database.

Overview#

WhatsApp templates are required for:
Sending messages outside the 24-hour customer service window
Delivering authentication (OTP) messages
Running marketing and utility campaigns
Structured customer notifications
Templates must be pre-approved by Meta before they can be used for message delivery.

Available Endpoints#

GET /templates#

Retrieve a paginated list of all WhatsApp templates.
Supports filtering, sorting, and search capabilities to help you:
Find templates by name
Filter by category (AUTHENTICATION, MARKETING, UTILITY)
Check approval status
View available languages and parameters

GET /templates/{id}#

Retrieve detailed information about a specific template using its WhatsApp template ID.
Useful for:
Validating template parameters before sending
Inspecting language versions
Displaying template previews in dashboards

POST /templates/sync#

Synchronize templates from your connected WhatsApp Business Account.
This endpoint refreshes the local template database and ensures RASL reflects the latest approved templates from Meta.
Use this endpoint when:
A new template has been approved
Template status has changed
Language versions were added or modified

Required Scopes#

templates:read — Required for listing and retrieving templates
templates:sync — Required to trigger synchronization from WhatsApp Business API
Requests without the appropriate scope will return 403 INSUFFICIENT_SCOPE

Data Source & Sync Model#

Templates are not created or edited directly via the RASL API.
Instead:
1.
Templates are created in RASL or Meta Business Manager.
2.
Meta reviews and approves the template.
3.
RASL synchronizes the approved templates into your tenant.
4.
Templates become available for use in message sending endpoints.

Typical Use Cases#

Display available templates inside your admin dashboard
Validate required parameters before calling /messages/template
Power dynamic template selection in automation flows
Keep local template records up-to-date via sync
Previous
List Authentication Templates
Next
List Templates
Built with