Create Sandbox
Beta/v1/core/sandboxesIdempotent with Idempotency-Key header. Learn more
Creates a sandbox account owned by your production account.
The creating user is added to the new sandbox as an administrator, so it can be switched into right away. When the owner's plan limits how many sandboxes it may have, the request fails once that limit is reached.
When mode is seeded, sample data is populated asynchronously and may not be available immediately after the sandbox is created. Sandboxes cannot be created while acting in a sandbox.
include[]optional arrayenumValues:owner_accountSub-objects to expand in the response. When omitted, sub-objects are returned as null.
namestringDisplay name of the sandbox.
modeoptional stringenumValues:blankseededControls how the sandbox is initialized. Defaults to blank.
blank: starts empty, with no pre-populated data.seeded: starts with sample data, populated asynchronously after the sandbox is created.
idstringSandbox ID.
objectstringenumValues:sandboxResource type identifier.
namestringDisplay name of the sandbox.
owner_accountaccountExpandablenullableThe production account that owns this sandbox.
idstringAccount ID.
objectstringenumValues:accountResource type identifier.
namestringThe account's display name.
The address billed by default on orders for this account.
null in this endpoint.The address shipped to by default on orders for this account.
null in this endpoint.brandingaccount_brandingnullableCustomer-facing branding for the account, such as the logo, support contacts, and social links.
null in this endpoint.portalaccount_portalnullableThe account's customer portal settings, including the portal URL slug.
null in this endpoint.created_atstring (date-time)Creation timestamp.
updated_atstring (date-time)Last updated timestamp.
created_atstring (date-time)When this sandbox was created.
updated_atstring (date-time)When this sandbox was last updated.
Responses
Successful response for Create Sandbox