Call it
curl https://api.peume.com/v1/call/search-people-by-title-company-or-intent \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"pagination": {
"page": 0,
"size": 10
},
"filters": {
"contacts": {
"include": {
"jobTitles": [
"Head of Marketing"
]
}
}
}
}
}'const res = await fetch("https://api.peume.com/v1/call/search-people-by-title-company-or-intent", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"pagination": {
"page": 0,
"size": 10
},
"filters": {
"contacts": {
"include": {
"jobTitles": [
"Head of Marketing"
]
}
}
}
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-people-by-title-company-or-intent",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"pagination": {
"page": 0,
"size": 10
},
"filters": {
"contacts": {
"include": {
"jobTitles": [
"Head of Marketing"
]
}
}
}
}
},
)
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: search-people-by-title-company-or-intent.
Parameters
paginationRequiredobject{page: <0-based>, size: 10-100}; rows are billed in blocks of 25, so a size of 25 costs the same as 10
Example: {"page":0,"size":10}
filtersRequiredobjectnested contact and company filters: job titles, seniority, departments, locations, company size, revenue, industry, technologies, intent topics and signals. GET /v3/contacts/prospecting/filters/{filterType} enumerates the accepted values for each filter. A `signals` filter is billed per matched signal, so 's key refuses it; use your own key for it
Example: {"contacts":{"include":{"jobTitles":["Head of Marketing"]}}}
Other ways to do it
Same job, other sources.
