Skip to main content
GET
cURL
Returns the account the customer in customerId is in, as Get an account does. A customer in no account returns 404 account_not_found; an unknown customer returns 404 customer_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.

Query Parameters

customerId
string
required

Your ID for the customer, such as your user ID.

Required string length: 1 - 255

Response

The customer's 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