PeumeAPI

Social publishing & inbox

Test an automation on a sample event

Runs one sample through the automation's own decision code and says whether it would run, what it matched and the steps it would take. Nothing is claimed, sent or written, whatever the automation does.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/test-an-automation-on-a-sample-event \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "automationId": "your automationId"
  }
}'

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: test-an-automation-on-a-sample-event.

Parameters

automationIdRequiredstring
eventobject

The sample event, shaped by the automation's kind.

subjectIdstring

A sequence's contact, a scheduled automation's post or an ad rule's object.

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.