Skip to main content
SkedX
Help · Flow · APIs & Developers

Send your first WhatsApp template in 5 minutes

5 min readFor adminsIn review

The quickest way to see the Flow API work end to end: two commands in a terminal, and a WhatsApp template arrives on your own phone.

You need an API key, one approved template and credit in the messaging wallet. Send to your own number first — every send is real, and charged.

In review: written from the product, not yet walked through live.

1Keep your key ready

No key yet? Create one with Send messages and templates and List templates ticked. Open a terminal (on Windows, Git Bash) and keep the key in a variable, so it never sits in your commands:
export FLOW_API_KEY="sk_flow_…your key…"

2See which templates you may send

This lists your WhatsApp templates and sends nothing. Note how many blanks each one has — variableCount (1) — and pick one whose status is approved (2); drafts and templates that are pending, rejected, paused or disabled can’t be sent. Its templateName is the name you’ll send.
curl -s "https://flowserver.skode.ai/api/v1/templates/?channel=whatsapp" \
  -H "Authorization: Bearer $FLOW_API_KEY"
Templates listed by the Flow API: variableCount 5 (1) and status approved (2) on the first one

3Send it to your own number

Change three things in this command: your own WhatsApp number in to, with the country code (spaces and a leading + are fine); the template’s name; and one value per blank in variables, in order — exactly as many as variableCount said. Leave variables out if the template has no blanks.
curl -s -X POST "https://flowserver.skode.ai/api/v1/messages/template/" \
  -H "Authorization: Bearer $FLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"to": "+91XXXXXXXXXX",
       "template_name": "your_template_name",
       "variables": ["first blank", "second blank"]}'

4Read Flow’s answer

The key (1), the template’s name (2) and its blanks (3) went in; "ok": true and an id (4) came back — Flow has handed the message to WhatsApp, and it arrives within seconds. The conversation also shows in Flow’s inbox, like any other send. Anything else comes back as an error that names the problem — see Flow API errors.
A real send: the Authorization header (1), the template name (2), five blanks (3) and the answer "ok": true with the message id (4). The phone number and a person’s name are blurred.

5See it arrive

Within seconds the template arrives in WhatsApp on the phone you sent it to, from your business’s number. Each value in variables fills a blank, in the order you listed them — here the batch (1), the faculty (2), the time (3), the topic (4) and the class link (5). Your customers get exactly this. Nothing there? See the first question below.
An illustration of a template arriving in WhatsApp, its blanks filled in order: Batch 108 (1), Meera Nair (2), 8.30 PM to 10:00 PM (3), SEO recap (4) and the class link (5)
An illustration of the example template as it arrives. Your phone will look a little different.

6Make it part of your system

Your code or tool makes the same request: same address, same header, same body. Send a WhatsApp template over the API explains every field. No developer? Let an AI assistant write the code, or use an inbound hook from Zapier or n8n.

© 2026 SkedX · Sample data only · Share and link freely · Copying the product or its design is not allowed · Terms

Common questions

Flow said ok, but nothing arrived. Why?

"ok": true means WhatsApp accepted the message. Open the conversation in Flow’s inbox: if WhatsApp couldn’t deliver it, the message is marked as failed. The usual causes are a number without its country code, or a number that isn’t on WhatsApp.

Can one request go to many numbers?

No — one request, one recipient. Send one request per person; each is charged separately.

Do I need to give a language?

Usually not. Leave it out and Flow uses the language the template was approved in.

My template isn’t in the list.

The list shows the templates Flow holds for your workspace. If one you created elsewhere is missing, check Flow’s Templates screen, or message us.

Useful links

Previous: Create an API key · All APIs & Developers guides

Did this guide help?

View as markdown

Keep reading

READY WHEN YOU ARE

One record
Start there

Free plan, no card. Five tools replaced in an afternoon; your data stays yours.

pick a slot. we call you, on your clock.
pick a slot.
we call you,
on your clock.

No card. We only use your details to set you up or call you back.

A 20-minute call with a real person, on your clock.
SetupUnder 5 min
CardNot required
Replaces5 tools
Your dataExport anytime