Call it
curl https://api.peume.com/v1/call/reveal-emails-and-phone-numbers-for-found-contact-ids \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"ids": [
"4389064654"
],
"reveal": [
"emails"
]
}
}'const res = await fetch("https://api.peume.com/v1/call/reveal-emails-and-phone-numbers-for-found-contact-ids", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"ids": [
"4389064654"
],
"reveal": [
"emails"
]
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/reveal-emails-and-phone-numbers-for-found-contact-ids",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"ids": [
"4389064654"
],
"reveal": [
"emails"
]
}
},
)
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: reveal-emails-and-phone-numbers-for-found-contact-ids.
Parameters
idsRequiredarray1-100 contact ids from.people.search; each revealed datapoint is billed, so send only the ids you want
Example: ["4389064654"]
revealarrayemails, phones or both
Example: ["emails"]
waterfallEnabledbooleanfalse keeps the call to own data; it matters only on your own key with Data Waterfall on
tableIdstringpersist the results into a Table
Other ways to do it
Same job, other sources, cheapest first.
