Call it
curl https://api.peume.com/v1/call/enrich-a-person-role-work-history-skills-linkedin \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"person": {
"name": "Patrick Collison",
"linkedin": "https://www.linkedin.com/in/patrickcollison"
},
"company": {
"domain": "stripe.com"
}
}
}'const res = await fetch("https://api.peume.com/v1/call/enrich-a-person-role-work-history-skills-linkedin", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"person": {
"name": "Patrick Collison",
"linkedin": "https://www.linkedin.com/in/patrickcollison"
},
"company": {
"domain": "stripe.com"
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/enrich-a-person-role-work-history-skills-linkedin",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"person": {
"name": "Patrick Collison",
"linkedin": "https://www.linkedin.com/in/patrickcollison"
},
"company": {
"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: enrich-a-person-role-work-history-skills-linkedin.
Parameters
personRequiredobjectthe person to match — id, name, firstName, lastName, jobTitle, email, phone, linkedin, twitter, facebook, country. A LinkedIn URL is the strongest key; name + company domain also resolves
Example: {"name":"Patrick Collison","linkedin":"https://www.linkedin.com/in/patrickcollison"}
companyobjectthe person's company, to disambiguate a common name. `domain` is enough
Example: {"domain":"stripe.com"}
revealEmailsobject{includeEmails: true, webhookUrl: '…'} — asks for verified email addresses too. Billed separately at the reveal rate (about 1 credit per verified email) and delivered to the webhook, not inline. Available only with your own key
revealPhonesobject{includePhones: true, webhookUrl: '…'} — asks for direct phone numbers. Billed separately (about 10 credits per verified phone) and delivered to the webhook. Available only with your own key
Other ways to do it
Same job, other sources, cheapest first.
