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
name
string
required

A name for the sandbox, unique within your organization. No spaces, and it can't be live or sandbox.

Required string length: 1 - 100
Pattern: ^\S+$
color
enum<string>

Colour the dashboard uses to label the sandbox. Defaults to gray.

Available options:
gray,
blue,
green,
amber,
red,
pink
icon
string

Icon the dashboard uses to label the sandbox. Defaults to Flask.

Required string length: 1 - 64
stripe
object

Tax settings for the Stripe test account Autumn creates for the sandbox. Omit to leave that account as Stripe creates it.

Response

200 - application/json

OK

id
string
required

The sandbox's organization ID.

name
string
required

The sandbox's name.

slug
string
required

The sandbox's slug, derived from its name.

created_at
number
required

When the sandbox was created, ms since epoch.

color
enum<string>
required

Colour the dashboard uses to label the sandbox.

Available options:
gray,
blue,
green,
amber,
red,
pink
icon
string
required

Icon the dashboard uses to label the sandbox.

Required string length: 1 - 64
secret_key
string
required
read-only

The sandbox's own secret key. Shown once, here — store it before you discard the response.