> ## Documentation Index
> Fetch the complete documentation index at: https://docs.peeker.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Email infrastructure, white-labeled.

> Provision Google Workspace and Microsoft 365 inboxes for your customers without owning a single inbox. One POST /orders creates or reuses the user, routes to your provider, sets up domains, licenses, forwarding, and emits webhooks at every step.

<CardGroup cols={2}>
  <Card title="Quickstart" icon="rocket" href="/guides/quickstart" arrow>
    Start with availability, import, order, and webhooks. Sandbox, no billing.
  </Card>

  <Card title="API reference" icon="square-terminal" href="/orders/create-order" arrow>
    Every endpoint with playground prefill and curl examples.
  </Card>
</CardGroup>

```bash One POST /orders provisions everything theme={"theme":{"light":"one-light","dark":"one-dark-pro"}}
curl -X POST "https://api.peeker.ai/partner/v1/orders" \
  -H "Authorization: Bearer pk_test_…" \
  -H "Content-Type: application/json" \
  --data '
{
  "user": "alex@acme.com",
  "bundle_id": "bun_01HZX0BU1A2B3C4D5E6F7G8H",
  "sequencer": {
    "provider": "smartlead",
    "client_id": 366903,
    "login_email": "peeker@yourcompany.com",
    "login_password": "<your-dedicated-login>"
  },
  "domains": [
    "acme-mail.com"
  ],
  "personas": [
    {
      "first_name": "Alex",
      "last_name": "Rivera",
      "profile_picture_url": ""
    }
  ]
}'
# → 200 OK · order.in_progress now, order.completed within 24h
```

## What you can do

For your first sandbox smoke test, call `POST /domains/availability`, then `POST /domains/import`, then `POST /orders`. After that, use the rest of the API to list users, bundles, domains, orders, pending actions, swaps, and webhook deliveries.

<CardGroup cols={3}>
  <Card title="Users & routing" icon="users">
    Create users with provider client routing, or let `POST /orders` create/reuse the user from
    email.
  </Card>

  <Card title="Google & Microsoft orders" icon="cart-shopping">
    One `POST /orders` provisions domains, licenses, inbox names, and forwarding end-to-end.
  </Card>

  <Card title="Domain inventory" icon="globe">
    Users can connect owned domains via Cloudflare, or buy from your registrar inventory - same
    order shape.
  </Card>

  <Card title="Swaps & renames" icon="rotate">
    Standard or premium domain swaps; rename users on a domain without losing warmup; full status
    webhooks.
  </Card>

  <Card title="Pending actions" icon="triangle-exclamation">
    Orders, domains, imports, and swaps surface `action_required` when they need partner or customer
    input.
  </Card>

  <Card title="Bundles" icon="box-open">
    Pick the monthly sending volume once. Peeker resolves the right license mix behind one
    `bundle_id`.
  </Card>
</CardGroup>

## You ship · we handle

<CardGroup cols={2}>
  <Card title="You ship" icon="code">
    * Your customer-facing UI and onboarding. - One `POST /orders` per purchase. - A signed webhook
      listener. - Your billing and support.
  </Card>

  <Card title="We handle" icon="server">
    * Domain registration, DNS, forwarding. - Google Workspace + Microsoft 365 provisioning. -
      Provider routing and upload. - Deliverability monitoring + self-healing swaps.
  </Card>
</CardGroup>

## Read these next

<CardGroup cols={3}>
  <Card title="Authentication" icon="key" href="/authentication">
    Bearer keys, sandbox vs live, request IDs, key rotation.
  </Card>

  <Card title="Webhooks" icon="webhook" href="/webhooks">
    Signed event delivery for every async job. Verify, retry, dedupe.
  </Card>

  <Card title="Best practices" icon="list-check" href="/best-practices">
    Errors, paging, idempotency, pending actions, handler hygiene.
  </Card>
</CardGroup>

## Browse the guides

<CardGroup cols={2}>
  <Card title="Quickstart" icon="bolt" href="/guides/quickstart">
    First end-to-end call in five steps.
  </Card>

  <Card title="Buying domains & ordering" icon="cart-shopping" href="/guides/buying-domains">
    The default flow - bundle, availability, order, webhooks.
  </Card>

  <Card title="Importing domains & ordering" icon="download" href="/guides/importing-domains">
    Use a domain the customer already owns at another registrar.
  </Card>

  <Card title="Change forwarding URLs" icon="arrow-right-to-bracket" href="/guides/forwarding">
    Repoint up to 25 domains at a new URL in one call.
  </Card>

  <Card title="How to implement domain swaps" icon="rotate" href="/guides/domain-swaps">
    Replace a degrading domain inside an active order.
  </Card>

  <Card title="Changing user names on active orders" icon="user-pen" href="/guides/user-name-swaps">
    Rename inboxes on a warm domain - for team rotations.
  </Card>
</CardGroup>
