Skip to main content
Use a swap to replace one domain without changing the workspace target, customer tracking, or rest of the order. Full rules: How swaps work. Premium is Microsoft only, with a rolling 30-day seat quota (Partner accounts: VIP+ 30% of active Microsoft licenses) and a 30-day cooldown per seat. Premium replacements must already have been bought through Peeker. Use standard for Google or imported domains. Before creating either kind of swap, the replacement must be available in your Peeker inventory with an active Peeker-managed Cloudflare zone. It must be unattached or in the source workspace. This endpoint does not buy or import a missing replacement domain.

Submit a swap

Send an Idempotency-Key on both /swaps and /swaps/user_names. After a timeout or server error, retry with the same key and unchanged body to recover the original creation result. Poll its swap ID for current progress. Reusing a key with different parameters returns 409 idempotency_conflict. If the original request is still running, retry 409 idempotency_in_progress with backoff. Keys are unique across your Partner account. The header is optional for existing integrations. Without it, the API cannot replay the original creation response; check GET /swaps before submitting again. A distinct second swap on a seat that already has one in flight returns 400 invalid_request.

Track the swap

Poll GET /swaps/{id} or subscribe to swap events.
To keep the domain and change mailbox identities, use Rename inbox senders.
Last modified on September 10, 2026