PeumeAPI

Social publishing & inbox

Get a sample test body for an automation

A body `POST /v1/automations/{automationId}/test` accepts for this automation: a comment with its first keyword, an inbound event its flow's trigger takes, its event's webhook payload with sample values, or the contact a sequence enrolled last. Kinds that read live data instead take no event.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-a-sample-test-body-for-an-automation \
  -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: get-a-sample-test-body-for-an-automation.

Parameters

automationIdRequiredstring

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.