Call it
curl https://api.peume.com/v1/call/search-crm-contacts \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"includeRaw": false,
"limit": 25,
"accountId": "your accountId"
}
}'const res = await fetch("https://api.peume.com/v1/call/search-crm-contacts", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"includeRaw": false,
"limit": 25,
"accountId": "your accountId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/search-crm-contacts",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"includeRaw": False,
"limit": 25,
"accountId": "your accountId"
}
},
)
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-crm-contacts.
Parameters
qstringFree text, at least 2 characters.
emailstringphonestringInternational number with its country code, for example `+14155550100`.
propertiesstringComma-separated native field names to return in `properties` (at most 50), for example `lifecyclestage,hs_lead_status` or `LeadSource,Industry__c`. On LeadConnector, a field of the record (`source`, `status`), or a custom field by id or key.
includeRawbooleanAlso return the CRM's own record as `raw`.
Example: false
limitintegerExample: 25
cursorstringThe `nextCursor` of the previous page, unchanged.
accountIdRequiredstringThe connected HubSpot, Salesforce or LeadConnector account (`GET /v1/accounts?platform=hubspot`, `salesforce` or `gohighlevel`).
