1. Domain
Scaledmail
  • Scaledmail API Documentaion
  • Workspaces
    • Get Workspaces
      GET
    • Create Workspace
      POST
  • Pre Warm Inboxes
    • Pre Warm Inboxes
      GET
    • Buy Pre Warm Inboxes
      POST
  • Domain
    • Get Domains
      GET
    • Get Domain Masking
      GET
    • Get Purchased Domains
      GET
    • Buy Domains
      POST
    • Search Domains
      POST
    • Suggest Domains
      POST
    • Update Sender Name
      POST
    • Update Domain Name
      POST
    • Update Domain Redirect
      POST
    • Update Domain Masking
      POST
  • Package
    • Calculate Package
      POST
    • Get Packages
      GET
  • Order
    • Get Orders
      GET
    • Get Order Details
      GET
    • Cancel Order
      DELETE
    • Create Order
      POST
    • Create Custom Order
      POST
    • Update Order Tag
      PATCH
  • Mailboxes
    • Get Mailboxes by Domain ID
      GET
  • Stats
    • Get Reporting Stats
  1. Domain

Get Domain Masking

GET
https://server.scaledmail.com/api/v1/domain-masking
đŸ•ĩī¸ Use this endpoint to list every domain currently set up with Domain Masking in your organization — both ScaledMail-hosted (internal) and bring-your-own-domain (external) proxies — along with what each one currently points to.

🔑 Authentication#

Requires a valid API token.
GET /api/v1/domain-masking

🔑 Query Parameters#

organization_id (required)#

Your organization's ID. Only Domain Masking proxies belonging to this organization are returned.

📋 Example Request#

GET /api/v1/domain-masking?organization_id=recXXXXXXXXXXXXXX

✅ Response#

{
  "total": 2,
  "domains": [
    {
      "domain_id": "recXXXXXXXXXXXXXX",
      "domain": "mask-one.com",
      "primary_domain": "brand.com",
      "order_type": "google",
      "status": "Active"
    },
    {
      "domain_id": "recYYYYYYYYYYYYYY",
      "domain": "mask-two.com",
      "primary_domain": "othersite.com",
      "order_type": "External mailboxes",
      "status": "Pending"
    }
  ]
}

📋 Response Fields#

FieldDescription
totalTotal number of Domain Masking proxies returned
domains[].domain_idRecord ID for this domain — pass this, or the domain name, when calling /swap-domain-masking
domains[].domainThe masking domain name (the one people visit, which proxies through to primary_domain)
domains[].primary_domainThe domain this masking domain currently points to
domains[].order_typeMailbox provider — "google", "outlook", or "smtp" for a ScaledMail-hosted (internal) domain, or "External mailboxes" if it's a bring-your-own-domain (BYOD) proxy hosted elsewhere
domains[].statusCurrent masking status: "Active", "Pending", or "Failed"

â„šī¸ Notes#

A domain shows up here whether it's an existing ScaledMail domain reused for masking, or a standalone external proxy.
Use POST /swap-domain-masking/:old_domain to request a change to a domain's primary_domain — never /swap-redirect, which will reject a masked domain and point you here instead.

Request

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

Responses

đŸŸĸ200Success
application/json
Bodyapplication/json

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://server.scaledmail.com/api/v1/domain-masking?organization_id=undefined' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Modified at 2026-09-21 11:02:06
Previous
Get Domains
Next
Get Purchased Domains
Built with