API reference
All operations
CONTACT

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.

GET/api/v2/contacts/list

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

pageNumberqueryinteger · int32

The page number to retrieve (1-based). Values of 0 or less are treated as 1.

pageSizequeryinteger · int32

The number of records per page. Defaults to 100; values of 0 or less, or above 200, are treated as 100.

orderByquerystring

Currently ignored; use `sortOrders` to control ordering.

searchTermquerystring

Text matched against the contact's full name or email. Characters other than letters and digits are ignored. Ignored when `fields` contains filter criteria.

fieldsquerystring

Optional 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.

sortOrdersquerystring

Sorting order of results. The words `Ascending` and `Descending` are accepted as sort directions.

colsquerystring

Columns to include in the result.

Responses

Request successful with contact data.

Standard response envelopeisSuccessmessageerrorsdata

Read the result from data. When isSuccess is false, errors lists what went wrong. Handling errors

Paginated
dataPaginatedResponse<Dictionary<string, object>[]>
  • totalCountinteger · int32
  • dataobject[]nullable
    • pageCountinteger · int32
    • currentPageCountinteger · int32
    • nextPageNumberinteger · int32nullable
    • hasNextPageboolean