Integrations & API

Wire Sandpods into your workflow

GitHub, a minimal REST API, webhooks, MCP servers, and skills — the interfaces you need to make cloud sandboxes part of your pipeline, not a detour.

Every interface

Integrations that compound

Six surfaces, one consistent mental model — everything is reachable from the dashboard or the API.

Auth & Repos

GitHub OAuth

Sign in with GitHub and clone any public or private repo you have access to. Workspaces get SSH clone credentials scoped to your identity.

Automation

REST API with API keys

Create, exec into, fork, pause, and delete sandboxes over HTTP with a simple Bearer-token API. Keys are SHA-256 hashed at rest and prefix-truncated in the UI.

Events

Webhooks

GitHub repository events arrive in real time, and E2B lifecycle events (paused, resumed, killed) update workspace status without the dashboard polling.

Extensibility

MCP servers

Add local or remote MCP servers from the dashboard or a settings API via npx add-mcp. Servers are synced into every running sandbox — add, list and remove, all from the UI or terminal.

Extensibility

Skills

Install agent skills per workspace or globally — browser automation, design review, code search — shipped in the base image so every agent starts capable.

Access

SSH + terminals

Connect your own editor or terminal over a WebSocket SSH bridge with a stable per-workspace password, or use the in-browser terminal and file browser.

REST API

Automate the whole lifecycle

Create, exec, fork, and delete workspaces over HTTP. A Bearer-token API key from the dashboard is all you need — no browser required.

POST/api/v1/workspacesCreate a workspace
curl -X POST https://sandpods.com/api/v1/workspaces \
  -H "Authorization: Bearer wc_8f3j2k1a" \
  -H "Content-Type: application/json" \
  -d '{ "repoUrl": "https://github.com/acme/app",
        "branch": "main",
        "agent": "cline" }'
POST/api/v1/workspaces/:id/execRun a command
curl -X POST https://sandpods.com/api/v1/workspaces/ws_8f3j2k1a/exec \
  -H "Authorization: Bearer wc_8f3j2k1a" \
  -d '{ "command": "bun run build" }'
POST/api/v1/workspaces/:id/actionFork a workspace
curl -X POST https://sandpods.com/api/v1/workspaces/ws_8f3j2k1a/action \
  -H "Authorization: Bearer wc_8f3j2k1a" \
  -d '{ "action": "fork" }'

Realtime status

Know when sandboxes move

E2B lifecycle webhooks keep workspace status current the moment it changes — paused, resumed, killed — and GitHub repository webhooks keep your repo list in sync. No polling loops to maintain.

Automate your first sandbox

Generate an API key, script the lifecycle, and hook webhooks into your pipeline. Integrated with OpenCode SDK and Hapi SDK.