# POST /sandboxes/{}/connect is deprecated

E2B API deprecated POST /sandboxes/{}/connect 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/{}/connect`
- Source: [Announcement](https://docs.e2b.dev/api-reference/sandboxes/connect-to-sandbox.md)
- Page: https://www.okapi.bot/providers/e2b-api/breaking-changes/post-sandboxes-connect-is-deprecated/

## What to use instead

Connect with POST /v2/sandboxes/{sandboxID}/connect.

## E2B API's words

> Returns sandbox details. If the sandbox is paused, it will be resumed. TTL is only extended. Use POST /v2/sandboxes/{sandboxID}/connect instead.
