Accounts
Returns a paginated list of accounts for the organization.
Rate limit: 60 requests per minute
Authorization: Bearer
The cursor to use for pagination.
The number of accounts to fetch. Defaults to 100. Must be greater than 0 and less than 1000.
Creates a new account with the specified name and optional metadata.
Rate limit: 60 requests per minute
Authorization: Bearer
Deprecated. Please use Domains and PrimaryDomain instead.
The domains of the account, without any leading scheme, for example stripe.com. Must specify one domain as primary.
The logo URL of the account. Must be a square .png, .jpg or .jpeg.
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 account IDs to be added as subaccounts to this account.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Authorization: Bearer
The account IDs to update. The number of accounts to update must be between 1 and 100.
The ID of the new owner. If empty string is passed in, the owner will be removed.
An array of tags to be updated on the accounts.
The mode for applying tags. Valid values: "append_only", "remove_only", "replace". Defaults to "replace".
Returns a single account by ID or external ID.
Rate limit: 60 requests per minute
Authorization: Bearer
The ID or external ID of the account to fetch.
Updates an existing account by ID or external ID. Only provided fields are modified.
Rate limit: 60 requests per minute
Authorization: Bearer
The ID or external ID of the account to update.
Domains of the account. Must specify one domain as primary.
Whether the account is disabled.
Logo URL of the account.
The name of the account.
The ID of the owner of the account. If empty string is passed in, the owner will be removed.
Must be in the list of domains. If there are any domains, there must be exactly one primary domain.
An array of account IDs to be added as subaccounts to this account.
An array of strings to use as tags on this account. If provided, the accounts tags will be updated to the given tags.
Permanently deletes an account by ID or external ID.
Rate limit: 10 requests per minute
Authorization: Bearer
The ID or external ID of the account to delete.
Currently, the following fields are filterable for accounts:
-
id. Allowed operators:
equals,in,not_in -
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,string_contains -
external_ids. Allowed operators:
equals,in,not_in,is_set,is_unset -
owner_id. Allowed operators:
equals,in,not_in,is_set,is_unset -
custom fields (pass in the slug of the custom field)
Rate limit: 20 requests per minute
Authorization: Bearer
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?

