Call it
curl https://api.peume.com/v1/call/list-submitted-leads \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"status": "new,contacted",
"limit": 25,
"since": 1757404800
}
}'const res = await fetch("https://api.peume.com/v1/call/list-submitted-leads", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"status": "new,contacted",
"limit": 25,
"since": 1757404800
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/list-submitted-leads",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"status": "new,contacted",
"limit": 25,
"since": 1757404800
}
},
)
print(res.json()["output"])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-submitted-leads.
Parameters
formIdstringFilter to a single lead form.
accountIdstringFilter to a single connected account. LinkedIn ads accounts switch to the live fetch.
accountIdsstringMeta only. Comma-separated connected account ids, to list several accounts at once. Without accountId or accountIds every account of the team is listed.
statusstringMeta only. Comma-separated lead statuses: new, contacted, unreachable, qualified, converted, disqualified.
Example: new,contacted
campaignIdstringMeta only. The platform campaign id the lead came from.
platformstringOnly leads of this network. - `web`: your own website and API forms. - `meta` and `google` list stored leads of that network (no LinkedIn live fetch). - `linkedin` requires accountId to be a LinkedIn ads connection (400 otherwise). Without it, every stored network is listed, and an accountId that is a LinkedIn ads connection switches to the live fetch.
meta · google · linkedin · web
qstringMeta only. Case-insensitive text search over the lead's answers and the form name.
adAccountIdstringLinkedIn only: the LinkedIn ad account id whose responses to read (owner-scoped finder).
limitintegerExample: 25
sinceintegerUnix seconds; only leads created at/after this timestamp. Millisecond timestamps return 400 with instructions to divide by 1000.
Example: 1757404800
cursorstringKeyset cursor from a previous response's pagination.cursor (Meta: AdLead id; LinkedIn: numeric start offset).
