Skip to main content
GET
cURL
Returns accounts under data, with pagination for the next page. Narrow the listing with filter_<field> for equality or filter_<field>_<operator> for other tests, such as filter_created_on_gte or filter_email_address_contains. Every filterable field also takes _neq; the text fields take _contains and _not_contains, and created_on and last_updated_on take _gt, _gte, _lt and _lte. The primary contact filters as filter_contact1_<field> and a custom attribute as filter_attribute_<name>.
The SDK samples get their client from credentials your app registers once when it starts, as shown in Authentication. To try the call here, click Try it, set host to your Exsited API host name and paste an access token from Get an access token.

Authorizations

Authorization
string
header
required

An access token from POST /api/v4/oauth2/token. The SDKs get and renew it for you.

Query Parameters

limit
integer

The most accounts to return on one page.

Example:

20

cursor
string

The pagination.next_cursor from the previous page, to fetch the next page.

sort
string

The field to sort by, such as created_on. Prefix it with - for descending order, as in -created_on.

filter_id
string

Only the account with this id.

filter_name
string

Only accounts with this name.

filter_display_name
string

Only accounts with this display_name.

filter_email_address
string

Only accounts with this email_address.

filter_description
string

Only accounts with this description.

filter_origin
string

Only accounts with this origin.

filter_website
string

Only accounts with this website.

filter_linkedin
string

Only accounts with this LinkedIn link.

filter_facebook
string

Only accounts with this Facebook link.

filter_twitter
string

Only accounts with this Twitter link.

filter_created_by
string

Only accounts created by this user.

filter_last_updated_by
string

Only accounts last changed by this user.

filter_status
string

Only accounts with this status, such as ACTIVE.

Example:

"ACTIVE"

filter_group
string

Only accounts in this account group.

filter_manager
string

Only accounts with this manager.

filter_currency
string

Only accounts in this currency.

filter_time_zone
string

Only accounts in this time zone.

filter_tax
string

Only accounts with this tax profile.

filter_uuid
string

Only the account with this uuid.

filter_communication_preference
string

Only accounts with this communication preference.

filter_accounting_code
string

Only accounts with this accounting code.

filter_created_on
string

Only accounts created on this date, as YYYY-MM-DD.

filter_last_updated_on
string

Only accounts last changed on this date, as YYYY-MM-DD.

Response

One page of accounts.

One page of accounts.

object
string
url
string

The path the listing came from, such as /api/v4/accounts.

data
object[]
pagination
object

How to fetch the next page.