Call it
curl https://api.peume.com/v1/call/start-a-bulk-work-email-lookup-beta-up-to \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"items": [
{
"person_id": 256474769,
"domain": "stripe.com"
}
]
}
}'const res = await fetch("https://api.peume.com/v1/call/start-a-bulk-work-email-lookup-beta-up-to", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"items": [
{
"person_id": 256474769,
"domain": "stripe.com"
}
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/start-a-bulk-work-email-lookup-beta-up-to",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"items": [
{
"person_id": 256474769,
"domain": "stripe.com"
}
]
}
},
)
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: start-a-bulk-work-email-lookup-beta-up-to.
Parameters
itemsRequiredarray1-1,000 objects of {person_id (required, integer), domain (optional string)}. NOTE the field is `person_id`, not `id` — using `id` is rejected with a bodyless HTTP 400
Example: [{"person_id":256474769,"domain":"stripe.com"}]
webhook_urlstringcallback on completion; poll the free status route instead when calling through a proxy
