Skip to main content
POST
Send a template message to a lead

Authorizations

X-Api-Key
string
header
required

API key (hr_live_... or hr_test_...). Generate from Settings › Workspace › Acceso API.

Path Parameters

leadId
string
required

Body

application/json
templateId
string<uuid>
required

UUID of the approved WhatsApp template to send.

Example:

"3fa85f64-5717-4562-b3fc-2c963f66afa6"

accountId
string<uuid>

WhatsApp account UUID to send from. Defaults to the campaign account linked to the lead.

scheduledAt
string<date-time>

ISO-8601 timestamp to schedule the message. Omit to send immediately.

Example:

"2026-06-10T10:00:00Z"

campaignId
string<uuid>

Campaign context for attribution. Inferred from the lead if omitted.

Response

201 - undefined