API reference
All operations
LEADS

Retrieves a paginated list of leads for a lead filter and date range.

Each row is returned as a set of column name/value pairs. When `startDate` or `endDate` is omitted, the range defaults to three months before through three months after today. The `orderBy`, `searchTerm`, `cols` and `fields` parameters are currently not applied to the results.

GET/api/v2/leads/list

Authentication

Choose one supported method for this request.

OAuth 2.0 client credentials

Parameters

pageNumberqueryinteger · int32

Page number to return, starting at 1. Values of 0 or less are treated as 1.

pageSizequeryinteger · int32

Number of leads per page. Defaults to 100; values of 0 or less, or greater than 200, are treated as 100.

orderByquerystring

Currently not applied. Use `sortOrders` to sort the results.

searchTermquerystring

Currently not applied.

startDatequerystring

Start of the date range, for example `2026-01-31`. Defaults to three months before today.

endDatequerystring

End of the date range, for example `2026-12-31`. Defaults to three months after today.

filterquerystring

Lead filter to apply, such as `MyOpen`, `MyUnacknowledged` or `AllOpen`. Defaults to `MyOpen`.

sortOrdersquerystring

Sort expression: a column name followed by `ASC` or `DESC`, for example `Entered DESC` (`Ascending` and `Descending` are also accepted). When empty, the default sort order is used.

colsquerystring

Currently not applied.

fieldsquerystring

Currently not applied. If sent, it must be a valid JSON array of field filters.

Responses

The page of leads.

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