# POST /sandboxes is deprecated

E2B API deprecated POST /sandboxes without giving a shutdown date yet.

- API: E2B API (api.e2b.app)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /sandboxes`
- Source: [Announcement](https://docs.e2b.dev/api-reference/sandboxes/create-sandbox.md)
- Page: https://www.okapi.bot/providers/e2b-api/breaking-changes/post-sandboxes-is-deprecated/

## What to use instead

Create sandboxes with POST /v2/sandboxes (JavaScript and Python SDKs 2.51.0 and later call it).

## E2B API's words

> Create a sandbox from the template. All system communication with the sandbox is secured. Use POST /v2/sandboxes instead.
