Nabd Messaging
    Nabd Messaging
    • Getting Started
    • Send Message (WhatsApp)
      • Send plain text (WhatsApp)
        POST
    • Send Message (Telegram)
      • Send plain text (Telegram, by username)
        POST
      • Send plain text (Telegram, by user ID)
        POST
    • Send with Template
      • Send with template (WhatsApp)
        POST
      • Send with template (Telegram)
        POST
    • Send with Media
      • Send image or document (WhatsApp)
        POST
      • Send image or document (Telegram)
        POST
    • Managing Apps

    Send with Template

    Send messages using a template#

    Templates are created in the dashboard under My Templates. Each template has a UUID that you use as template_id in the API.

    When to use templates#

    Reusable message layouts with placeholders (e.g. customer name, order number).
    Same structure for WhatsApp and Telegram; only the linked app (device or Telegram account) and channel differ.

    Request body#

    template_id (required when using a template) – UUID of the template from the dashboard.
    variables (optional) – Object mapping placeholder indices to values. Keys are strings (e.g. "1", "2"). Replace placeholders in the order they appear in the template.
    When using a template, message is not required.
    Modified at 2026-03-03 23:38:15
    Previous
    Send plain text (Telegram, by user ID)
    Next
    Send with template (WhatsApp)
    Built with