---
title: "Create SSH access to a sandbox"
method: POST
path: "/api/v0beta1/sandboxes/{id}/ssh"
tags: ["Sandboxes"]
---

# Create SSH access to a sandbox

`POST /api/v0beta1/sandboxes/{id}/ssh`

## Path parameters

- `id` string, required

## Response `200`

SSH access info.

- SshAccessResponse
  - `ssh_destination` string, required
  - `token` string, required
  - `expires_at` union, required
    - string
    - string, date-time
  - `sandbox_id` string, required
  - `sandbox_name` string, required
  - `repo_name` string, nullable, required
  - `web_socket_proxy_url` string
  - `private_key` string

## Other responses

- `400` — Error
- `401` — Error
- `403` — Error
- `404` — Error

---

[API](https://skmtc.net/amika/apis/amika-api.md) · [All operations](https://skmtc.net/amika/apis/amika-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/amika/amika-api/revisions/664536fccd0e/schema)
