# Peeker Partner API > Provision Google Workspace and Microsoft 365 mailboxes from your own app. - [Peeker Partner API](https://docs.peeker.ai/index.md): Provision Google Workspace and Microsoft 365 mailboxes through EmailBison, Instantly, Smartlead, or PlusVibe. - [Authentication](https://docs.peeker.ai/authentication.md): Bearer keys, sandbox vs live, key rotation, and unauthorized responses. - [Rate limits](https://docs.peeker.ai/rate-limits.md): The 600-request-per-minute limit and how to retry a 429. - [Webhooks](https://docs.peeker.ai/webhooks.md): Signed updates for orders, imports, forwarding, pool, cancellations, and swaps. - [Best practices](https://docs.peeker.ai/best-practices.md): Sandbox testing, request IDs, errors, pagination, idempotency, and webhooks. - [How orders work](https://docs.peeker.ai/concepts/orders.md): Statuses, domain counts, idempotency, pending actions, and cancellations. - [How domains work](https://docs.peeker.ai/concepts/domains.md): Statuses, inventory vs connected, usable_for, imports, and forwarding. - [How bundles work](https://docs.peeker.ai/concepts/bundles.md): Saved order templates, Google/Microsoft split, capacity, and archive behavior. - [How swaps work](https://docs.peeker.ai/concepts/swaps.md): Standard vs premium domain swaps, quotas, cooldowns, and sender renames. - [Async jobs and webhooks](https://docs.peeker.ai/concepts/async-jobs.md): Which Partner API calls return immediately, what to poll, and when to use webhooks. - [Connect a provider and place orders](https://docs.peeker.ai/guides/provider-ordering.md): Connect a reusable provider workspace, then send orders to it. - [Generate and check domains](https://docs.peeker.ai/guides/domain-search.md): Generate keyword or AI domain names and check availability. - [Buying domains and ordering](https://docs.peeker.ai/guides/buying-domains.md): Check domains, submit an order, and let Peeker handle registration and DNS. - [Importing domains and ordering](https://docs.peeker.ai/guides/importing-domains.md): Import customer-owned domains, wait for DNS setup, and submit an order. - [Change forwarding URLs](https://docs.peeker.ai/guides/forwarding.md): Save forwarding during domain setup or change it on live domains. - [Assign pre-warmed inboxes](https://docs.peeker.ai/guides/pre-warmed-pool.md): Add or remove paid Google domains, assign them to customers, and return or replace them. - [Replace a domain](https://docs.peeker.ai/guides/domain-swaps.md): Replace one domain in an active order with a standard or premium swap. - [Rename inbox senders](https://docs.peeker.ai/guides/user-name-swaps.md): Change the mailbox identities on one active domain without replacing the domain. - [Check your API key](https://docs.peeker.ai/api-reference/account/check-your-api-key.md): Confirms the key works and returns live vs sandbox, the permission preset, and your partner profile. Call this first when wiring up. - [Check your wallet](https://docs.peeker.ai/api-reference/account/check-your-wallet.md): Returns the wallet that pays for orders, using the same balance, hold and floor rules as order funding. At the time of the read, an order that costs at most `available_cents` would be paid right away. A larger order may wait for an automatic top-up when `automatic_top_up.enabled` is true or a top-up… - [List workspaces](https://docs.peeker.ai/api-reference/provider-workspaces/list-workspaces.md): Lists workspaces connected through this API and regular Peeker workspaces that were enabled for Partner API use. Smartlead client destinations created by orders stay behind their main workspace and do not appear as separate rows. - [Get a workspace](https://docs.peeker.ai/api-reference/provider-workspaces/get-a-workspace.md): Returns one provider workspace (never includes credentials). - [Connect a workspace](https://docs.peeker.ai/api-reference/provider-workspaces/connect-a-workspace.md): Connect a provider once, then use the returned `workspace_id` in later orders and pool attachments. You do not need an `Idempotency-Key` for this request. An exact reconnect reuses the existing workspace. - [Update a workspace](https://docs.peeker.ai/api-reference/provider-workspaces/update-a-workspace.md): Rotate the full provider credential object. New credentials must point to the same remote workspace. EmailBison, Instantly, and PlusVibe can also update customer tracking or clear it with `customer: null`. Smartlead can update its label. A promoted EmailBison rotation changes only its Partner API cr… - [Disconnecting a provider workspace](https://docs.peeker.ai/api-reference/provider-workspaces/disconnecting-a-provider-workspace.md): Disconnects only this public routing target. Sibling targets and the internal credential connection stay active. This does not expose or return credentials. - [List bundles](https://docs.peeker.ai/api-reference/bundles/list-bundles.md): Returns saved order templates. Filter by `active` or `archived`. - [Get a bundle](https://docs.peeker.ai/api-reference/bundles/get-a-bundle.md): Returns one saved order template. - [Create a bundle](https://docs.peeker.ai/api-reference/bundles/create-a-bundle.md): Saves an order template by monthly send volume. Optionally set a Google/Microsoft split, or omit it to use Peeker’s recommendation. - [Update a bundle](https://docs.peeker.ai/api-reference/bundles/update-a-bundle.md): Updates fields on a saved order template. - [Delete a bundle](https://docs.peeker.ai/api-reference/bundles/delete-a-bundle.md): Removes the bundle if no order ever used it. Otherwise archives it so old orders still link correctly. - [List domains](https://docs.peeker.ai/api-reference/domains/list-domains.md): Returns domains in your account. `category=inventory` = not on an order yet. `category=connected` = already on an order. - [Get a domain](https://docs.peeker.ai/api-reference/domains/get-a-domain.md): Returns one domain by ID. - [List burned domains](https://docs.peeker.ai/api-reference/domains/list-burned-domains.md): Returns domains marked burned. Use `filter=managed` for ones on an active Peeker subscription (the usual replace-all set). Domains with a swap already in flight are listed here but skipped by replace-all. - [Replace burned domains](https://docs.peeker.ai/api-reference/domains/replace-burned-domains.md): Starts one job that swaps every replaceable burned domain. - [Get a replace job](https://docs.peeker.ai/api-reference/domains/get-a-replace-job.md): Returns job status, counts, and up to 5,000 preview result rows. If `results_truncated` is true, page the `/results` endpoint. - [List replace results](https://docs.peeker.ai/api-reference/domains/list-replace-results.md): Pages every per-domain result for a replace job (no 5,000-row cap). Follow `links.next` until it is `null`. - [List import jobs](https://docs.peeker.ai/api-reference/domains/list-import-jobs.md): Returns import jobs, newest first, including imports started in the Peeker dashboard (`origin: dashboard`). Filter by `status` or `domain`. Use `domain` to find a job when you no longer have its `imp_…` ID. - [Get an import](https://docs.peeker.ai/api-reference/domains/get-an-import.md): Returns the current progress and results of an import job, including historical imports. Counts are exact. `nameserver_groups` and `failed` are a preview when `results_truncated` is `true`; page `/results` for every domain. - [List import results](https://docs.peeker.ai/api-reference/domains/list-import-results.md): Pages every domain of an import job, in submission order, with its status, nameservers, and failure reason. Use it when `results_truncated` is `true` on the job. Follow `links.next` until it is `null`. - [List forwarding jobs](https://docs.peeker.ai/api-reference/domains/list-forwarding-jobs.md): Returns forwarding jobs, newest first, including bulk forwarding changes started in the Peeker dashboard (`origin: dashboard`). Filter by `status`. - [Get a forwarding job](https://docs.peeker.ai/api-reference/domains/get-a-forwarding-job.md): Returns one forwarding job and its per-domain results. - [Check domain availability](https://docs.peeker.ai/api-reference/domains/check-domain-availability.md): Submit up to 50 domains. Tells you which are free to register and which mailbox types each can take (`usable_for`). - [Check domain blacklists](https://docs.peeker.ai/api-reference/domains/check-domain-blacklists.md): Check one domain against Spamhaus DBL and SURBL using direct DNS first. If that fails, try WhoAPI, then retry direct DNS once if needed. Successful list results are preserved across attempts. When both lists were checked successfully and either reports a listing, reuse that result for three days (72… - [List live TLD pricing](https://docs.peeker.ai/api-reference/domains/list-live-tld-pricing.md): Returns every active, sellable row from the live `pricingTlds` catalog, including registration and renewal pricing. This endpoint is the authoritative allowlist for `POST /domains/generate`; do not hardcode a TLD list. The current catalog contains 22 rows, but clients should use the returned array i… - [Generate available keyword or AI domain names](https://docs.peeker.ai/api-reference/domains/generate-available-keyword-or-ai-domain-names.md): Supports three request shapes: - [Buy domains without inboxes](https://docs.peeker.ai/api-reference/domains/buy-domains-without-inboxes.md): Register domains without ordering inboxes. Use this to build up your own domain supply, then order inboxes on those domains later with `POST /orders`. - [Import domains (async)](https://docs.peeker.ai/api-reference/domains/import-domains-async.md): Queues an import for up to 500 customer-owned domains. Returns immediately with `in_progress`. Poll the job or listen for `domain_import.*` webhooks. - [Set forwarding](https://docs.peeker.ai/api-reference/domains/set-forwarding.md): Points 1–25 domains at one URL. Send each domain as a separate array entry, not a comma-separated string. Valid requests wait for Cloudflare setup and retry temporary provider failures for up to 72 hours from acceptance. A raw domain name on a paid, accepted order in this account is accepted even be… - [List pool domains](https://docs.peeker.ai/api-reference/domain-pool/list-pool-domains.md): Returns pre-warmed Google pool inventory and health. Use `availability=available` for assignable names. Provider health remains visible but does not block eligibility, including an explicit `burned` result. The separate source-order, warmup, billing, and readiness gates still apply. - [Preview pool domains](https://docs.peeker.ai/api-reference/domain-pool/preview-pool-domains.md): Returns exactly N assignable domain names, or `409` with none. Provider health is informational, so an otherwise-ready domain can be returned even when `GET /pool` reports `deliverability_burned`. Source-order, warmup, billing, mailbox identity, and forwarding gates still apply. A preview does not r… - [Add domains to the pool](https://docs.peeker.ai/api-reference/domain-pool/add-domains-to-the-pool.md): Adds paid Google domains (active billing + active inboxes) into your pool. Every inbox must have complete provider mailbox identity. All-or-nothing. Does not create an order or change billing. Sandbox uses five-second initial and post-release warmups, so poll `GET /pool` after adding or releasing. S… - [Remove unassigned domains from the pool](https://docs.peeker.ai/api-reference/domain-pool/remove-unassigned-domains-from-the-pool.md): Removes exact domains from active pool inventory without changing their orders, inboxes, subscriptions, or billing. Available, warming, and idle quarantined domains can be removed. Assigned, reserved, releasing, or otherwise linked domains block the whole request with `409`; nothing is removed. Name… - [Attach pool domains](https://docs.peeker.ai/api-reference/domain-pool/attach-pool-domains.md): Attach an exact set of pre-warmed domains to a connected workspace. This is the only order flow that reserves or changes pool inventory. Normal `POST /orders` requests never use the pool. - [Get a pool reservation](https://docs.peeker.ai/api-reference/domain-pool/get-a-pool-reservation.md): Returns one attach job and which domains were assigned. - [Release pool domains](https://docs.peeker.ai/api-reference/domain-pool/release-pool-domains.md): Returns every domain in a reservation to your pool when a customer cancels. By default they come back on the next monthly date; pass `forced: true` to take them back now. Billing on the source order is unchanged. Supports Smartlead reservations assigned to a customer client: detaches the client assi… - [Get a pool release](https://docs.peeker.ai/api-reference/domain-pool/get-a-pool-release.md): Returns one release job. - [List orders](https://docs.peeker.ai/api-reference/orders/list-orders.md): Returns orders, newest first. Filter by customer, bundle, or status. - [List pending actions](https://docs.peeker.ai/api-reference/orders/list-pending-actions.md): Returns blockers that need your input (nameservers, replace domain, etc.). Defaults to open actions only. There is no webhook for this. Poll here when an order is `action_required`. - [Get an order](https://docs.peeker.ai/api-reference/orders/get-an-order.md): Returns one org-owned order, including dashboard purchases. Includes every domain; costs.total_cents is null when billing facts are missing. - [Create an order](https://docs.peeker.ai/api-reference/orders/create-an-order.md): Send an order to a connected workspace. Every destination includes its provider and Peeker `workspace_id`. For Smartlead, omit `client_id` to use the main workspace or include it to use that client workspace. - [Cancel an order](https://docs.peeker.ai/api-reference/orders/cancel-an-order.md): Only confirmed API-origin purchases support this action. Dashboard purchases, including purchases paid with credits, return `409 invalid_request`: manage cancellation in the Peeker dashboard. Replacements keep the original purchase origin, even when requested through the API. Ambiguous origin also r… - [Get cancellation progress](https://docs.peeker.ai/api-reference/orders/get-cancellation-progress.md): Poll a Stripe cancellation request. Pending means billing work is still running; cancel_scheduled means Stripe and Peeker changes succeeded. A failed request includes its error. Cancellation scheduling is separate from final provider shutdown. - [Reactivate an order subscription](https://docs.peeker.ai/api-reference/orders/reactivate-an-order-subscription.md): Only confirmed API-origin purchases support this action. Dashboard purchases (including credit-funded purchases), their replacements, and purchases with ambiguous origin return `409 invalid_request`. Manage them in the Peeker dashboard. - [Remove cancelled domains from their Microsoft tenant](https://docs.peeker.ai/api-reference/orders/remove-cancelled-domains-from-their-microsoft-tenant.md): Only confirmed API-origin purchases support this action. Dashboard purchases (including credit-funded purchases), their replacements, and purchases with ambiguous origin return `409 invalid_request`. Manage them in the Peeker dashboard. The full purchase selection is checked before removal starts. - [List swaps](https://docs.peeker.ai/api-reference/domain-swaps/list-swaps.md): Returns domain and sender-rename swaps, newest first. - [Get a swap](https://docs.peeker.ai/api-reference/domain-swaps/get-a-swap.md): Returns one swap job. - [Swap a domain](https://docs.peeker.ai/api-reference/domain-swaps/swap-a-domain.md): Replaces one domain inside an existing order. See [How swaps work](/concepts/swaps) for standard vs premium. - [Rename inbox senders](https://docs.peeker.ai/api-reference/domain-swaps/rename-inbox-senders.md): Keeps the domain; regenerates mailbox names from new personas. Only `first_name` and `last_name` change mailbox identities. - [Changelog](https://docs.peeker.ai/changelog.md): Partner API changes. ## OpenAPI Specs - [openapi](/openapi.yaml) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.