Search contacts
Returns contacts matching filters on default and custom fields, with the total match count. Optionally pass `query` to describe the search in natural language; that consumes credits, including for keys with `read` access.
Returns contacts matching filters on default and custom fields, with the total match count. Optionally pass query to describe the search in natural language; that consumes credits, including for keys with read access.
Authorization
apiKey In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/v1/records/contacts/search" \ -H "Content-Type: application/json" \ -d '{}'{
"data": [
{
"first_name": "Jane",
"middle_name": "A.",
"last_name": "Doe",
"title": "Marketing Manager",
"email": "janedoe@example.com",
"phone": "+1-555-123-4567",
"company": "Acme Corp",
"linkedin_url": "https://www.linkedin.com/in/janedoe",
"location": "San Francisco, CA",
"city": "San Francisco",
"state": "CA",
"country": "USA",
"tags": [
"marketing",
"manager"
],
"icp_label": "Enterprise",
"account_ids": [
"d714e4ab-c3f3-418f-a340-7a939bc488b2"
],
"custom_fields": {
"property1": "string",
"property2": "string"
},
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"crm_id": "123456",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z"
}
],
"pagination": {
"limit": 0,
"offset": 0,
"total": 0
},
"interpretation": {
"explanation": "string",
"filters": [
{
"field": "string",
"operator": "string",
"value": "string"
}
],
"or_filters": [
[
{
"field": "string",
"operator": "string",
"value": "string"
}
]
],
"uses_related_records": true
}
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}{
"error": "string"
}