Skip to main content
GET
cURL
Returns the account: its name and customerIds, sorted. An empty account (its last customer removed) is still returned, with no customers. An unknown account returns 404 account_not_found. Needs the Customers permission at Read.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

accountId
string
required

Your ID for the account.

Required string length: 1 - 255

Response

The account

accountId
string
required
name
string | null
required
customerIds
string[]
required

The customers in the account, sorted. Empty once the last one leaves: the account is kept.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required