Swap a domain
Replaces one domain inside an existing order. See How swaps work for standard vs premium.
POST
Swap a domain
Need the difference between standard and premium?
How swaps work. Want new inbox names on the same
domain? Use
POST /swaps/user_names.Authorizations
Partner API key (pk_live_… or pk_test_…).
Headers
Recommended for safe swap retries. Reuse the same key and request body after a timeout or server error. The original creation result is replayed, even after the swap has progressed. Keys are unique across the Partner account. Different parameters return 409 idempotency_conflict; an active request returns 409 idempotency_in_progress. Without a key, retries cannot recover the original creation response; check GET /swaps before resubmitting.
Required string length:
1 - 256Body
application/json
Response
A swap.
Last modified on October 5, 2026