Skip to main content
POST
Preview a template send

Authorizations

Authorization
string
header
required

Organization API key (flo_…) or OAuth access token (fla_…). Paste the full token; Scalar sends Authorization: Bearer <token>.

Body

application/json
templateId
string
required

Template to send: a Flowella template id, or a numeric Meta template id together with templateWabaId.

Required string length: 1 - 128
whatsappChannelId
string<cuid>
required

WhatsApp channel id from GET /v1/channels. Omit to use the default number where optional.

recipients
object[]
required

Recipients, 1 to 50,000. Each has phone, optional contactId, bodyParameters for {{1}}, {{2}}, ... and optional buttonParameters.

Required array length: 1 - 50000 elements
templateWabaId
string

WhatsApp Business Account id of the template. Required when templateId is a Meta id.

Minimum string length: 1
headerMedia
object

Public URL of the image, video, or document for a media header. Overrides the template's sample.

Carousel card media and parameters, one entry per card. Shared by all recipients.

Required array length: 2 - 10 elements
scheduledAt
string | null

ISO 8601 time to start sending. Omit to send now.

throttlePerHour
integer

Maximum messages per hour. Omit for no throttle.

Required range: 1 <= x <= 100000

Response

OK

ok
boolean
required

False when a blocking problem means the send should not run.

totalRecipients
integer
required
uniqueRecipients
integer
required
template
object
required
channel
object
required
blocking
object[]
required
warnings
object[]
required