Scaledmail
  1. Domain
Scaledmail
  • Scaledmail API Documentaion
  • Organization
    • Get Organizations
      GET
  • Pre Warm Inboxes
    • Pre Warm Inboxes
      GET
    • Buy Pre Warm Inboxes
      POST
  • Domain
    • Get Domains
      GET
    • Get Purchased Domains
      GET
    • Search Domains
      POST
    • Buy Domains
      POST
    • Update Domain Name
      POST
    • Update Domain Redirect
      POST
  • Package
    • Get Packages
      GET
  • Order
    • Get Order Details
      GET
    • Create Order
      POST
    • Get Orders
      GET
    • Cancel Order
      DELETE
  • Mailboxes
    • Get Mailboxes by Domain ID
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
  1. Domain

Update Domain Redirect

POST
https://server.scaledmail.com/api/v1/swap-domain/{domain}

🔑 Query Parameters#

domain (required):
The current domain name whose redirect you want to update.

📥 Request Body Parameters#

All parameters below must be included in the JSON body of the request.
new_redirect (required):
The new domain name to redirect to.
→ This can be either a third-party (external) domain or an available purchased domain retrieved from the /purchased-domains endpoint.

⚠️ Important Notes#

If the domain is not found, the request will fail.
If a redirect update is already in progress, the request will be rejected.
No new order will be created for domain redirect update requests.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Body Params text/plain
Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://server.scaledmail.com/api/v1/swap-domain/?organization_id' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain' \
--data-raw '{
 "new_redirect":"scaledmail.com"
}'
Response Response Example
{}
Modified at 2026-01-30 14:31:31
Previous
Update Domain Name
Next
Get Packages
Built with