List Contacts
GEThttps://public.leadpattern.com/customer/list
Retrieve a paginated list of contacts, with optional search and smart filters.
- limit defaults to 10 and is capped at 100.
- Unknown query parameters are rejected with 400.
- filters is a JSON string of smart-filter rules; filterLogic is AND or OR.
Headers
1 fieldAuthorizationstringrequired
Your API key. Sent raw (e.g. 'lp_...'). No Bearer prefix required.
Query Parameters
3 fieldspagenumberoptionaldefault:
1Page number.
limitnumberoptionaldefault:
20Results per page.
searchstringoptional
Search by name/phone.
Responses
JSON Response
{
"data": {
"results": [
{
"id": "664abc...",
"waId": "9195XXXXXXXX",
"name": {
"first": "John"
}
}
],
"totalResults": 1,
"page": 1,
"totalPages": 1
}
}Sample Request
{
"page": 1,
"limit": 20,
"search": "john"
}
