Skip to main content
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

Authorization
string
header
default:Bearer pk_test_<your-test-key>
required

Partner API key (pk_live_… or pk_test_…).

Body

application/json
type
enum<string>
required
Available options:
standard,
premium
domain_id
string
required

Domain to replace (dom_…).

replacement_domain
string
required

Replacement domain name.

Response

A swap.

data
object
required
Last modified on August 25, 2026