# Hermoso: send_whatsapp_broadcast · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/publish/send_whatsapp_broadcast/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/) / send_whatsapp_broadcast

# `send_whatsapp_broadcast`

Broadcast a WhatsApp template to many people destructive

Area: WHATSAPP BUSINESS · [Publishing & scheduling](https://hermoso.ai/docs/reference/publish/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Send ONE approved WhatsApp template to MANY recipients . TEMPLATES ONLY: WhatsApp accepts free-form text only inside the 24-hour customer-service window that opens when THAT person messages the business, and Meta refuses each closed one. META HAS NO BULK ENDPOINT, so this is a paced fan-out — one message per recipient, about 10 a second — so it runs as a QUEUED JOB and returns a job id: nothing has been sent when it returns. Poll it by calling this tool again with `jobId` (or use get_job), and read the PER-RECIPIENT outcome; a partial failure is reported as one, never as success. PER-RECIPIENT VARIABLES ARE THE POINT: pass recipients as objects { to, components } so each person gets their own {{1}}, {{2}} values in a single broadcast. Duplicates are removed and unusable numbers are REFUSED BY NAME rather than silently dropped — pass skipInvalid:true to send to the rest, and they are still named in the result. RUN IT WITH dryRun:true FIRST: that costs nothing, sends nothing, and reports the exact recipient count, the template’s real category, what Meta bills for it, and whether the list fits inside the business portfolio’s moving 24-hour messaging limit. Warning: META DOES NOT DELIVER MARKETING MESSAGES TO WHATSAPP USERS IN THE UNITED STATES AT ALL (error 131049, platform-wide since 1 April 2025) — the sends are still ACCEPTED and given message ids, so a US marketing broadcast looks like a success and is not one; the dry run says how many recipients are on +1. META BILLS THE BUSINESS, not Hermoso credits: per message delivered, at Meta’s own per-country rates, marketing always charged and utility/authentication free inside an open service window. WhatsApp policy REQUIRES recipient opt-in; nothing in the API enforces it. Confirm-gated in code: show the user the message, the template and the recipient count, get an explicit yes, then call again with confirm:true AND confirmCount set to the exact number of distinct recipients. ACCEPTED IS NOT DELIVERED — never report a broadcast as delivered. 0 Hermoso credits.

## Parameters

Parameter Type Description

`jobId` `string` READ MODE — pass a broadcast’s job id (and nothing else) to get its status and per-recipient outcome instead of starting a new one

`phoneNumberId` `string` WHICH NUMBER IT SENDS FROM — from list_whatsapp_accounts (a WABA can have several). Required to SEND; omit only when reading a broadcast back with jobId

`template` `string` an APPROVED template name. Required to SEND — a broadcast cannot be free-form text; omit only when reading a broadcast back with jobId

`language` `string` which language of that template, e.g. en_US. Omitted, Hermoso uses the first one it finds and reports which.

`wabaId` `string` the account the template is read from. Optional — it defaults to the account that owns phoneNumberId, and one naming a DIFFERENT account is refused

`recipients` `object[]` the list: either phone numbers in full international form ["+14165550142", …] (or business-scoped user ids, e.g. US.13491208655302741918, for people who reached you by username), or objects { to, components } when each person gets different template values. Duplicates are removed and counted; invalid numbers are refused by name unless skipInvalid is true

`components` `object[]` template values SHARED by every recipient, in Meta’s component form. A per-recipient `components` overrides it. The count must match the template’s {{1}}, {{2}} placeholders — Hermoso checks that against the real template and refuses a provable mismatch before anything is dispatched

`skipInvalid` `boolean` drop unusable numbers instead of refusing the whole list. They are still named in the result — nothing is ever silently dropped

`dryRun` `boolean` cost nothing, send nothing, queue nothing: report exactly who would be messaged, what Meta charges for it, and whether it fits the 24-hour messaging limit

`confirm` `boolean` REQUIRED true — this sends real messages to real phones and Meta bills the business for every one

`confirmCount` `number` REQUIRED — the exact number of DISTINCT valid recipients, echoed back. confirm:true alone cannot tell a 12-person test from a 2,000-person send

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/send_whatsapp_broadcast`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"send_whatsapp_broadcast","arguments":{}}}`
**CLI**

`hermoso call send_whatsapp_broadcast --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [get_job](https://hermoso.ai/docs/reference/create/get_job/) Get render job
- [send_whatsapp_message](https://hermoso.ai/docs/reference/publish/send_whatsapp_message/) Send a WhatsApp message
- [manage_whatsapp_number](https://hermoso.ai/docs/reference/publish/manage_whatsapp_number/) WhatsApp number settings, blocklist and groups
- [read_whatsapp_inbox](https://hermoso.ai/docs/reference/publish/read_whatsapp_inbox/) Read and answer WhatsApp messages
- [manage_whatsapp_flow](https://hermoso.ai/docs/reference/publish/manage_whatsapp_flow/) WhatsApp forms (Flows)
- [delete_whatsapp_template](https://hermoso.ai/docs/reference/publish/delete_whatsapp_template/) Delete a WhatsApp message template
- [manage_whatsapp_calling](https://hermoso.ai/docs/reference/publish/manage_whatsapp_calling/) WhatsApp calls
- [create_whatsapp_template](https://hermoso.ai/docs/reference/publish/create_whatsapp_template/) Create a WhatsApp message template
- [manage_whatsapp_account](https://hermoso.ai/docs/reference/publish/manage_whatsapp_account/) WhatsApp account: notices, costs, catalog, ad conversions
- [list_whatsapp_templates](https://hermoso.ai/docs/reference/publish/list_whatsapp_templates/) WhatsApp message templates

[All 728 Publishing & scheduling tools](https://hermoso.ai/docs/reference/publish/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
