---
title: Sandbox API
description: "Use the AI Inbx sandbox API. Browse endpoints, request parameters, response schemas, and code examples for your integration."
sidebar:
  label: Overview
---

{/* Generated by scripts/openapi.ts from the shared API contract. */}

Workspaces that run the whole API with simulated mail: no mail is delivered, none arrives from outside, and nothing is billed. Webhooks still go out, marked `sandbox: true`. Every new workspace starts as one. An agent can create one without an account and hand it to a person to claim.

## Endpoints

| Method | Operation | Path |
| --- | --- | --- |
| `POST` | [Create a sandbox](/api/endpoints/sandbox/create-sandbox) | `/sandboxes` |
| `POST` | [Create a claim link](/api/endpoints/sandbox/create-claim-link) | `/claim-links` |
| `POST` | [Simulate an inbound email](/api/endpoints/sandbox/simulate-inbound-email) | `/sandbox/emails` |
| `POST` | [Simulate a reply](/api/endpoints/sandbox/simulate-reply) | `/sandbox/emails/{email_id}/reply` |

## Request essentials [#request-essentials]

Use `https://api.aiinbx.com/api/v2` as the base URL and send your API key in `Authorization: Bearer <key>`. Keep credentials on your server.

See [Authentication](/authentication) for scopes, [Conventions](/reference/conventions) for pagination and idempotency, and [Errors](/reference/errors) for recovery guidance. Each endpoint page includes its parameters, response schemas, and copyable TypeScript SDK, Python SDK, and curl examples.
