Call it
curl https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-or-name-company \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"email": "sean@peopledatalabs.com",
"profile": "linkedin.com/in/seanthorne",
"company": "peopledatalabs",
"min_likelihood": 6
}
}'const res = await fetch("https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-or-name-company", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"email": "sean@peopledatalabs.com",
"profile": "linkedin.com/in/seanthorne",
"company": "peopledatalabs",
"min_likelihood": 6
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/enrich-a-person-by-email-linkedin-or-name-company",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"email": "sean@peopledatalabs.com",
"profile": "linkedin.com/in/seanthorne",
"company": "peopledatalabs",
"min_likelihood": 6
}
},
)
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-by-email-linkedin-or-name-company.
Parameters
emailstringstrongest single identifier
Example: sean@peopledatalabs.com
phonestringE.164 preferred
profilestringsocial profile URL — LinkedIn, GitHub, Twitter, Facebook
Example: linkedin.com/in/seanthorne
lidstringLinkedIn numeric profile id
email_hashstringMD5 or SHA-256 of the email, when you cannot send it in the clear
namestringfull name; use with company or location to disambiguate
first_namestringlast_namestringcompanystringemployer name or domain
Example: peopledatalabs
schoolstringlocationstringfree-text location of the person
countrystringmin_likelihoodinteger1-10 match-confidence floor; returns 404 below it. 6+ is the usual production setting
Example: 6
requiredstringfields the response must contain or it is treated as a miss, e.g. 'emails AND profiles'
titlecasebooleanprettybooleanOther ways to do it
Same job, other sources, cheapest first.
