PeumeAPI

Social publishing & inbox · WhatsApp

Upload flow JSON

Upload or update the Flow JSON for a DRAFT flow. The Flow JSON defines all screens,

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/whatsapp-upload-flow-json \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "flowId": "your flowId",
    "accountId": "your accountId",
    "flow_json": "your flow json"
  }
}'

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-upload-flow-json.

Parameters

flowIdRequiredstring

Flow ID

accountIdRequiredstring

WhatsApp account ID

flow_jsonRequiredstring

The Flow JSON content. Pass as a JSON object or a JSON string.

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.