Fetches a paginated list of contacts matching a search term or a saved filter.
Exactly one of `searchTerm` or `filter` must be supplied. Each row is returned as a set of column/value pairs.
/api/v2/contacts/listAuthentication
Choose one supported method for this request.
Parameters
pageNumberqueryinteger · int32The page number to retrieve (1-based). Values of 0 or less are treated as 1.
pageSizequeryinteger · int32The number of records per page. Defaults to 100; values of 0 or less, or above 200, are treated as 100.
orderByquerystringCurrently ignored; use `sortOrders` to control ordering.
searchTermquerystringText matched against the contact's full name or email. Characters other than letters and digits are ignored. Ignored when `fields` contains filter criteria.
fieldsquerystringOptional JSON array of field filter criteria (Field, FieldType, Values, Operator, UDF). When supplied, these criteria replace the `searchTerm` match.
filterquerystring"MyFavorites" to show favorites or "MyAssigned" to display assigned contacts.
sortOrdersquerystringSorting order of results. The words `Ascending` and `Descending` are accepted as sort directions.
colsquerystringColumns to include in the result.
Responses
Request successful with contact data.
isSuccessmessageerrorsdataRead the result from data. When isSuccess is false, errors lists what went wrong. Handling errors
totalCountinteger · int32dataobject[]nullablepageCountinteger · int32currentPageCountinteger · int32nextPageNumberinteger · int32nullablehasNextPageboolean