Call it
curl https://api.peume.com/v1/call/person-enrichment-by-email-linkedin-or-name \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"email": "alex@example.com",
"linkedin": "https://www.linkedin.com/in/alex-example",
"name": "Alex Example",
"domain": "example.com"
}
}'const res = await fetch("https://api.peume.com/v1/call/person-enrichment-by-email-linkedin-or-name", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"email": "alex@example.com",
"linkedin": "https://www.linkedin.com/in/alex-example",
"name": "Alex Example",
"domain": "example.com"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/person-enrichment-by-email-linkedin-or-name",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"email": "alex@example.com",
"linkedin": "https://www.linkedin.com/in/alex-example",
"name": "Alex Example",
"domain": "example.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: person-enrichment-by-email-linkedin-or-name.
Parameters
emailstringone of email, linkedin, or name with domain
Example: alex@example.com
linkedinstringa LinkedIn profile link or slug
Example: https://www.linkedin.com/in/alex-example
namestringthe person's full name; send it with domain
Example: Alex Example
domainstringthe company's website, sent with name
Example: example.com
Other ways to do it
Same job, other sources, cheapest first.
