Skip to main content
POST
Typescript (SDK)

Body Parameters

Response

Authorizations

Authorization
string
header
required

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

Headers

x-api-version
string
default:2.6.0
required

Body

application/json
account_id
string

The account's ID, if one was set. Pass this or customer_id.

Required string length: 1 - 256
Pattern: ^[a-zA-Z0-9_\-.]+$
customer_id
string

Look the account up through one of its customers. Pass this or account_id.

Response

200 - application/json

OK

id
string | null
required

The account's ID, if you've set one. Autumn never generates it.

name
string | null
required

The account's name, if set.

customers
object[]
required

Customers linked to the account, oldest link first.

created_at
number
required

When the account was created, ms since epoch.