---
title: "Connect to an existing sandbox"
method: POST
path: "/api/sandbox/{project_id}/connect"
tags: ["Sandbox"]
---

# Connect to an existing sandbox

`POST /api/sandbox/{project_id}/connect`

## Request

- Base URL: `https://core.blink.new`
- URL: `https://core.blink.new/api/sandbox/{project_id}/connect`
- Auth: HTTP bearer

Connects to a sandbox, auto-resumes if paused

## Path parameters

- `project_id` string, required

## Request body

- object
  - `sandbox_id` string, required
  - `timeout_ms` number

## Response `200`

Connected to sandbox

## Other responses

- `401`: Authentication required or invalid API key

---

[API](https://skmtc.dev/blink/apis/blink-apis.md) - [All operations](https://skmtc.dev/blink/apis/blink-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/blink/apis/blink-apis/revisions/4c59c706078e?raw)
