> ## 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.

# Peeker Partner API

> Provision Google Workspace and Microsoft 365 mailboxes through EmailBison, Instantly, Smartlead, or PlusVibe.

Use Partner API v1 to connect provider workspaces and place orders from your
own app. For Smartlead, connect the main workspace once. Add `client_id` only
when an order should go to one of its client workspaces.

> [card] [Provider setup and ordering](https://docs.peeker.ai/guides/provider-ordering.md)
>
> See all four provider shapes and the workspace-to-order flow.

> [card] [Authentication](https://docs.peeker.ai/authentication.md)
>
> Create a key, make your first request, and handle errors.

## Core flow

Connect a workspace once, then submit orders with its Peeker `wrk_...` ID.
Workspace creation does not use an `Idempotency-Key`. Each order does.

```bash Connect a Smartlead main workspace theme={"theme":{"light":"one-light","dark":"one-dark-pro"}}
curl -X POST "https://api.peeker.ai/partner/v1/workspaces" \
  -H "Authorization: Bearer pk_test_<your-key>" \
  -H "Content-Type: application/json" \
  --data '
{
	"provider": "smartlead",
	"label": "Agency Smartlead",
	"credentials": {
		"api_key": "<smartlead-main-api-key>"
	}
}'
```

## What you can build

> [card] [Provider workspaces](https://docs.peeker.ai/guides/provider-ordering.md)
>
> Connect EmailBison, Instantly, Smartlead, or PlusVibe once. Reuse `wrk_…`.

> [card] [Smartlead main and clients](https://docs.peeker.ai/guides/provider-ordering.md)
>
> Use one main workspace ID. Add `client_id` only to client orders.

> [card] [Orders](https://docs.peeker.ai/concepts/orders.md)
>
> Google Workspace and Microsoft 365 for all four providers.

> [card] [Domains](https://docs.peeker.ai/concepts/domains.md)
>
> Buy new domains or import ones the customer already owns.

> [card] [Pre-warmed pool](https://docs.peeker.ai/guides/pre-warmed-pool.md)
>
> Assign warmed Google inventory by exact quantity.

> [card] [Webhooks](https://docs.peeker.ai/webhooks.md)
>
> Signed updates for orders, imports, pool, swaps, and more.

## Next steps

> [card] [Authentication](https://docs.peeker.ai/authentication.md)
>
> Sandbox key, then `GET /me`.

> [card] [Concepts](https://docs.peeker.ai/concepts/orders.md)
>
> Lifecycles without reading every endpoint.

> [card] [Async jobs](https://docs.peeker.ai/concepts/async-jobs.md)
>
> What to poll vs subscribe to.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.