PeumeAPI

Social publishing & inbox

Update workflow

Update name, description, the graph, or reassign to a different account.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/update-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: update-workflow.

Parameters

workflowIdRequiredstring
namestring
descriptionstring
nodesarray
edgesarray
entryNodeIdstring
accountIdstring

Reassign the workflow to a different `SocialAccount`. Changing this triggers a graph revalidation against the new platform. `platform` and `profileId` are derived server-side from the new account (the client never sends them directly). The account must belong to the caller's team and be on a workflow-supported platform (whatsapp, instagram, facebook, telegram, twitter, bluesky, reddit, tiktok).

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.