Accounts
Get a list of accounts
/accounts
The cursor to use for pagination.
The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Create a new account
/accounts
Deprecated. Please use Domains and PrimaryDomain instead.
The logo URL of the account. Must be a square .png, .jpg or .jpeg.
The name of the account.
Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
An array of channels to be linked to this account.
An array of custom fields to be used on this account.
The domains of the account, without any leading scheme, for example stripe.com. Must specify one domain as primary.
An array of external IDs to be used on this account. If provided, the accounts external IDs will be updated to the given external IDs.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Get an account by its ID
/accounts/{id}
The ID or external ID of the account to fetch.
Update an existing account
/accounts/{id}
The ID of the account to update.
The name of the account.
The ID of the owner of the account.
Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
An array of channels to be linked to this account.
An array of custom fields to be used on this account.
Domains of the account. Must specify one domain as primary.
An array of external IDs to be used on this account. If provided, the accounts external IDs will be updated to the given external IDs.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Currently, the following fields are filterable for accounts:
-
domains. Allowed operators:
contains
,does_not_contain
,in
,not_in
-
tags. Allowed operators:
contains
,does_not_contain
,in
,not_in
-
name. Allowed operators:
equals
,in
,not_in
-
custom fields (pass in the slug of the custom field)
/accounts/search
The cursor to use for pagination.
The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Last updated
Was this helpful?