List Accounts (POST)
Gets a list of accounts.
Headers
Authorization
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
created_by
Filters for accounts created by the specified user(s).
created_date
cursor
The cursor to resume iteration from. If not provided, then
iteration starts from the beginning.
display_name
Array of display names of accounts to be filtered.
external_refs
Array of references of accounts to be filtered.
limit
The maximum number of accounts to return per page. The default is
'50'.
mode
The iteration mode to use. If “after”, then entries after the provided cursor will be returned, or if no cursor is provided, then from the beginning. If “before”, then entries before the provided cursor will be returned, or if no cursor is provided, then from the end. Entries will always be returned in the specified sort-by order.
Allowed values:
modified_date
sort_by
Fields to sort the accounts by and the direction to sort them in.
stage
Filters for accounts on specified stages.
tier
Tier of the accounts to be filtered.
websites
Array of websites of accounts to be filtered.
Response
The response to listing all accounts matching the filter criteria.
accounts
List containing all the accounts
next_cursor
The cursor used to iterate subsequent results in accordance to the
sort order. If not set, then no later elements exist.
prev_cursor
The cursor used to iterate preceding results in accordance to the
sort order. If not set, then no prior elements exist.