Skip to main content
POST
Send Template Messages
Template messages are pre-approved formats managed in your WhatsApp Manager (inside Facebook Business Manager). Because Meta approves them in advance, you can send them to any customer at any time, including first-time contacts and customers whose 24-hour session has expired.
Your template must be created and approved in WhatsApp Manager before you can reference it here. Contact the Connectly team if you need help getting a template approved.
Template messages can only be sent to personal WhatsApp accounts, not to WhatsApp API (business) accounts. When testing, use your personal WhatsApp number and make sure it has accepted all WhatsApp app and privacy updates.

Endpoint

Rate limit: 200 requests/second. Exceeding this returns 429 Too Many Requests.

Request body

Response

The id uniquely identifies the message. Use it to correlate delivery status webhook events (sent, delivered, read, delivery_failed).

Template parameters

The parameters array substitutes variables in your template’s header, body, and buttons. Each object has a name and value, plus an optional filename for document headers.
Available name values:

callbackData

Set callbackData to any JSON value up to 1024 bytes. Connectly echoes it back in every webhook event tied to this message:
  • Delivery status events: sent, delivered, read, delivery_failed
  • Inbound replies that reference this message: quoted replies, button & list replies, reactions
Plain-text replies that don’t quote the original message do not include callbackData. Exceeding 1024 bytes returns a 400 error.

Examples

Include sender when your business has more than one WhatsApp number registered with Connectly.

Template languages

Your template can have multiple approved language translations. Specify the correct code in the language field, the template must have an approved translation for the language you request. See Meta’s language list for all supported codes.

Targeting by BSUID

To target a customer identified by a Business-Scoped User ID, set number to the prefixed form bsuid:US.… (e.g. bsuid:US.13491208655302741918). See Business-scoped user IDs (BSUID) for full details.
Sending to phone-less (BSUID-only) customers is not yet available and currently returns a 400 error. Authentication templates (one-tap, zero-tap, copy-code) cannot use BSUIDs, they require a phone number.

Error responses

See Error codes for the full list of error types and codes.