v1 is deprecated. Please move to API v2 (recommended). v1 keeps working until March 31, 2027, then it stops. See Moving from v1.

Domains

List domain masking

List your Domain Masking domains, on ScaledMail orders and on mailboxes you host elsewhere, with the domain each one forwards to.

GEThttps://server.scaledmail.com/api/v1/domain-masking
Token access
Read
Rate limit
120 read calls per minute per token

Not paged: every masked domain of the workspace comes in one answer, including ones on cancelled orders and ones that have expired or been released.

Headers

  • Authorizationstringrequired

    Bearer <your API token>. The token needs Read access.

Query parameters

  • organization_idstringrequired

    Your workspace id (org_...). Must be a workspace this token was made for.

Response (200)

  • totalintegerrequired

    How many domains are listed.

  • domainsobject[]required

    Your masked domains, by name.

    Show child fields
    • domain_idstringrequired

      The domain's id (a UUID). POST /swap-domain-masking takes it, or the name.

    • domainstringrequired

      The masked domain.

    • primary_domainstringrequired

      The domain it forwards to. Empty when not set.

    • order_typeenum | nullrequired

      The mailbox provider of the domain's order, External mailboxes for masking on mailboxes you host elsewhere, or null when it is on no order.

    • statusenumrequired

      Where the masking setup stands.

      One of: Active Pending Failed

Responses

  • 200OK. Your masked domains.
  • 401No token. The Authorization header is missing or not Bearer <token>.
  • 429Busy. Too many large list calls are running at once. Wait for the Retry-After seconds and try again.
  • 429Rate limited. More than 120 read calls in a minute. Wait for the Retry-After seconds.
  • 500Server error. Something went wrong on our side. Try again.