Skip to main content
POST
/
api
/
v1
/
templates
/
send
Queue template send job
curl --request POST \
  --url https://app.flowella.io/api/v1/templates/send \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "templateId": "clxxxxxxxxxxxxxxxxxxxxxxxx",
  "whatsappChannelId": "clxxxxxxxxxxxxxxxxxxxxxxxx",
  "recipients": [
    {
      "phone": "+15551234567",
      "bodyParameters": [
        "Ada"
      ]
    }
  ]
}
'
{
  "id": "clxxxxxxxxxxxxxxxxxxxxxxxx",
  "status": "PENDING",
  "templateId": "clxxxxxxxxxxxxxxxxxxxxxxxx",
  "scheduledFor": null
}

Authorizations

Authorization
string
header
required

Organization API key (flo_…). Paste the full key; Scalar sends Authorization: Bearer <key>.

Body

application/json
templateId
string
required
Required string length: 1 - 128
whatsappChannelId
string<cuid>
required
recipients
object[]
required
Required array length: 1 - 50000 elements
templateWabaId
string
Minimum string length: 1
headerMedia
object
scheduledAt
string | null
throttlePerHour
integer
Required range: 1 <= x <= 100000

Response

Job created

id
string
required
status
enum<string>
required
Available options:
PENDING,
PROCESSING,
COMPLETED,
FAILED
templateId
string | null
required
scheduledFor
string | null
required