PeumeAPI

Social publishing & inbox · WhatsApp

Send flow message

Send a published flow as an interactive message with a CTA button.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/whatsapp-send-flow-message \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "to": "your to",
    "flow_id": "your flow id",
    "flow_cta": "your flow cta",
    "flow_action": "navigate",
    "body": "your body"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: whatsapp-send-flow-message.

Parameters

accountIdRequiredstring

WhatsApp account ID

toRequiredstring

Recipient phone number (E.164 format, e.g. +1234567890)

flow_idRequiredstring

Published flow ID

flow_ctaRequiredstring

CTA button text (e.g. 'Book Now', 'Sign Up')

flow_actionstring

Action type: navigate opens a screen directly, data_exchange hits your endpoint first

navigate · data_exchange

Example: navigate

flow_tokenstring

Unique token to correlate responses. If omitted, auto-generated as '<flowId>:<uuid>' so the response can be attributed to this flow in the Flow Responses view.

flow_action_payloadobject
bodyRequiredstring

Message body text

headerobject
footerstring

Optional footer text

draftboolean

Set true to test an unpublished (DRAFT) flow

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.