---
title: "Send a template message to many recipients"
method: POST
path: "/api/public/whatsapp/message/send/template/{templateId}/many"
tags: ["WhatsApp Message"]
---

# Send a template message to many recipients

`POST /api/public/whatsapp/message/send/template/{templateId}/many`

Send a specific template message to many recipients at once. Don't worry about the structure of each recipient, if the data is in the body AI will take care of it. Every bulk send is grouped under a campaign. Pass a "campaign" object to group this call with other sends under your own campaign identifier (same id → same campaign, created on first use). When the object is present, "id" and "name" are required; "intent" is optional — ideally one of the known values, but any custom string is accepted, and if omitted Vambe infers it from the template with AI. If the whole object is omitted, a campaign named after the template and date is created automatically for this call.

## Path parameters

- `templateId` string, required

## Query parameters

- `x-api-key` string, required
- `stage` string
- `stageId` string
- `from-phone-number` string, required

## Request body

- union
  - object[]
  - object
    - `campaign` object — Groups this send under a campaign. "id" is your own campaign identifier (same id → same campaign, get-or-create); "name" is the display name (last-write-wins). "intent" is optional: ideally one of the known values, but any custom string is accepted, and if omitted Vambe infers it from the template with AI.
      - `id` string, required
      - `name` string, required
      - `intent` string — Known intents are suggested (OTP, promotion, sales_followup, lead_outreach, appointment_confirmation, feedback_request, invitation, reactivation, other); custom strings are allowed. Omit to let AI decide.
    - `recipients` object[], required

## Response `201`

Message sent successfully.

## Other responses

- `400` — Bad request.
- `401` — Unauthorized.

---

[API](https://skmtc.dev/vambe/apis/vambe-ai-api.md) · [All operations](https://skmtc.dev/vambe/apis/vambe-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vambe/apis/vambe-ai-api/revisions/e206709d4be5?raw)
