PeumeAPI

Social publishing & inbox

Start an API-triggered workflow

Starts a run of an active workflow whose trigger type is `api_call`.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/start-an-api-triggered-workflow \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "workflowId": "your workflowId"
  }
}'

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: start-an-api-triggered-workflow.

Parameters

workflowIdRequiredstring
conversationIdstring

A conversation on the workflow's account

contactIdstring

A contact with a conversation on the workflow's account

tostring

Recipient phone in E.164 (WhatsApp workflows only)

variablesobject

Seed variables, merged over the standard run variables

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.