Sign inGet Started

WhatsApp templates

Business-initiated WhatsApp messages require a pre-approved template. Each template defines fixed copy and placeholders that you fill with variable values when sending.

Bird maintains a managed catalog (slugs starting with bird_) that sends from Bird-managed numbers. Once you connect your own number, you can also author custom templates on your WhatsApp Business Account. Browse every template your workspace can send on the Approved templates page.

The WhatsApp Templates page in the Bird dashboard, showing the template list. A search box with status and category filters sits above the table. Each row shows one template's status, which is Draft or Active, then its name and slug, its category, its stocked languages, the WABA holding it, and when it last changed.

Browsing templates in the dashboard

Open Approved templates at WhatsApp > Approved templates. Your templates lists templates your workspace authored, and All templates adds the Bird-managed catalog. Search by name, filter by status or category, or switch between card and list view.

In list view, each row shows:

  • Status: whether the template is sendable overall (managed templates show Active). Check the language list to confirm your target language is approved.
  • Name: the display label, with the sendable slug beneath it.
  • Languages: the languages registered for the template, such as English and Dutch.
  • Category: Authentication, Utility, or Marketing. The category determines sender rules and, with the destination country, the price.
  • WABA: Bird-managed for catalog templates, or the WhatsApp Business Account holding a custom template. Custom templates send from a number on that same account.
  • Updated: when the template last changed.

Select a row to open its detail view.

Template structure

The detail view shows a WhatsApp preview of the body, variables, and buttons alongside a ready-to-run cURL example for POST /v1/whatsapp/messages. Replace the API key, recipient, and variable values before sending.

To inspect the same template structure over the API, read the template's live version (Reading a template's content).

Listing templates from the API

Call GET /v1/whatsapp/templates (requires whatsapp_management read access) with HTTP or an SDK raw-request method:

type Templates = { data: Array<{ slug: string; status: string }> };

const templates = await bird.request<Templates>({
  method: "GET",
  path: "/v1/whatsapp/templates",
});

Each template summary includes its slug, category, and sendable languages (abbreviated below):

Code example
{
  "available_languages": ["en", "es", "pt-BR"],
  "category": "authentication",
  "default_language": "en",
  "description": "One-time passcode",
  "id": "wat_01ky4x8e4genzb7way45txfkm1",
  "languages": {
    "en": { "status": "approved" },
    "es": { "status": "approved" },
    "pt-BR": { "status": "approved" }
  },
  "name": "bird_otp",
  "on_missing_language": "fail",
  "scope": "system",
  "slug": "bird_otp",
  "status": "active"
}
FieldRole when sending
slugIdentifier passed in template.slug. Managed slugs start with bird_.
wabaWhatsApp Business Account that owns the template and its allowed from numbers (omitted on managed templates).
available_languagesLanguages currently approved and sendable.
on_missing_languageBehavior when a requested language is unavailable (fail rejects the request instead of falling back).

Status and language status

A template can be active overall while an individual language is paused or disabled at Meta. Check available_languages (or each entry in languages) before sending. For authored templates, list the template's events to see when WhatsApp paused a language or changed its quality rating.

Reading a template's content

Message copy and variables live on a language inside the live version. Read live_version_id from the template, then fetch the language by slug or template ID:

const language = await bird.request({
  method: "GET",
  path: "/v1/whatsapp/templates/bird_order_confirmation/versions/{version_id}/languages/en",
});
Code example
{
  "category": "utility",
  "components": [
    {
      "example_parameters": [
        { "name": "ref", "text": "A1B2C3D4", "type": "text" },
        { "name": "amount", "text": "USD 49.99", "type": "text" }
      ],
      "text": "Your order {{ref}} has been confirmed for a total of {{amount}}. Thanks for shopping with us.",
      "type": "body"
    }
  ],
  "language": "en",
  "status": "approved"
}

The version's variables list and each component's example_parameters show the keys to pass in parameters when sending (here, ref and amount). See Template parameters for the key rules covering numbered placeholders, auth codes, button URLs, and media headers.

The language's category reflects Meta's current pricing classification and can differ from the template's original category if Meta reclassifies it.

Sending with a template

Pass the template slug and variable values in template.parameters. See Sending WhatsApp messages for the full send guide:

const msg = await bird.whatsapp.send({
  to: "+15551234567",
  template: {
    slug: "bird_otp",
    parameters: { code: "123456" },
  },
});
console.log(msg.id, msg.status);

For authored templates with media headers, you can pass a pre-uploaded file ID in header_file_id instead of hosting a public URL. See Uploaded files for upload steps and retention rules.

Sending by category

Each template belongs to one of Meta's three categories, which determines setup requirements and pricing:

  • Authentication templates: one-time passcodes, copy-code and Android autofill delivery, and business verification for custom auth templates
  • Utility templates: order updates, appointment reminders, and account notices
  • Marketing templates: promotional messages on your own WhatsApp Business Account, media headers, and opt-outs

Next steps