Skip to main content
GET
List accounts

Query Parameters

offset
integer<int32>

The cursor used in pagination. This is the index of the first account to be returned.

limit
integer<int32>

The maximum number of accounts to be returned. The default is 20.

sort_by
string

The property used to sort the accounts by. The default is Name.

order_by
string

The sorting direction for the returned accounts. Accepted values: ASC, DESC. The default is ASC.

type
enum<string>

Filters accounts on their type.

Available options:
Unknown,
Prospect,
Opportunity,
Customer
data_source_id
integer<int32>

Filters accounts on the data source they were imported from.

external_id
string

Filters accounts on their external ID.

has_prospect_overlaps
boolean

Filters accounts on whether they overlap with at least one prospect account. When true, returns only accounts that overlap with a prospect account; when false, returns only accounts that do not. When omitted, no filter is applied.

has_customer_overlaps
boolean

Filters accounts on whether they overlap with at least one customer account. When true, returns only accounts that overlap with a customer account; when false, returns only accounts that do not. When omitted, no filter is applied.

has_opportunity_overlaps
boolean

Filters accounts on whether they overlap with at least one opportunity account. When true, returns only accounts that overlap with an opportunity account; when false, returns only accounts that do not. When omitted, no filter is applied.

Response

Accounts returned

items
object[] | null
paginationSkipCount
integer<int32>
totalCount
integer<int32>

Gets or sets the total number of items that could be returned by this command (without pagination).