Search accounts
Returns accounts 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 accounts 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/accounts/search" \ -H "Content-Type: application/json" \ -d '{}'{
"data": [
{
"account_name": "Acme Corp",
"domain": "acme.com",
"linkedin_url": "https://linkedin.com/company/acme",
"address": "123 Main St",
"city": "San Francisco",
"state": "CA",
"country": "USA",
"relationship_type": "prospect",
"sales_status": "lead",
"icp_label": "Enterprise",
"tags": [
"saas",
"enterprise"
],
"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"
}