api.contacts.search
POST /contacts/v2/search— ACPortal
Python
api.contacts.search(*, data: ContactSearchRequest | dict) -> list[SearchContactEntityResult]
CLI
ab contacts search [--data ...]
POST /contacts/v2/search.
Args:
data: Search payload with search_text, page, and page_size.
Accepts a :class:ContactSearchRequest instance or a dict.
Request model: :class:ContactSearchRequest
Request body — ContactSearchRequest
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Search filter parameters (omit for unfiltered results) |
|
|
yes |
Pagination and sorting options (required) |
Response
Returns a list of List[SearchContactEntityResult].
Field |
Type |
Required |
Description |
|---|---|---|---|
|
|
no |
Contact integer ID |
|
|
no |
Customer cell phone number |
|
|
no |
Contact display ID |
|
|
no |
Contact full display name |
|
|
no |
Contact phone number |
|
|
no |
Contact home phone number |
|
|
no |
Contact email address |
|
|
no |
Master constant value |
|
|
no |
Contact department |
|
|
no |
Street address line 1 |
|
|
no |
Street address line 2 |
|
|
no |
City |
|
|
no |
State/province |
|
|
no |
ZIP/postal code |
|
|
no |
Country name |
|
|
no |
Company code |
|
|
no |
Company UUID |
|
|
no |
Company name |
|
|
no |
Company display ID |
|
|
no |
Whether this contact is preferred |
|
|
no |
Industry type classification |
|
|
no |
Total matching records (denormalized) |