PeumeAPI

Social publishing & inbox

List automations

Lists the automations on the profiles your key can reach, newest first, across every kind: ad rules, event automations, scheduled automations, sequences, comment to DM and flows. One `cursor` pages them all.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-automations \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "q": "welcome",
    "kind": "ad_rule,event",
    "limit": 50
  }
}'

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: list-automations.

Parameters

accountIdstring

Only automations on this account: the ads connection of an ad rule, one of the `accountIds` of an event or scheduled automation, or the account a sequence, comment to DM or flow runs on.

adAccountIdstring

Only ad rules checking this platform ad account.

qstring

Only automations whose name contains this text, ignoring case. `%` and `_` match themselves.

Example: welcome

kindstring

Only these kinds, comma separated: `ad_rule`, `event`, `scheduled`, `sequence`, `comment`, `workflow`.

Example: ad_rule,event

limitinteger

Example: 50

cursorstring

`nextCursor` from the previous page, sent back unchanged with the same `q`, `kind`, `accountId` and `adAccountId`. Opaque: it holds the creation time and id of the page's last automation, and the next page is every kind's automations strictly older than it, so an automation created meanwhile never shifts or repeats a page.

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.