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.
https://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
AuthorizationstringrequiredBearer <your API token>. The token needs Read access.
Query parameters
organization_idstringrequiredYour workspace id (
org_). Must be a workspace this token was made for.. . .
Response (200)
totalintegerrequiredHow many domains are listed.
domainsobject[]requiredYour masked domains, by name.
ShowHide child fields
domain_idstringrequiredThe domain's id (a UUID).
POST /swap-domain-maskingtakes it, or the name.domainstringrequiredThe masked domain.
primary_domainstringrequiredThe domain it forwards to. Empty when not set.
order_typeenum | nullrequiredThe mailbox provider of the domain's order,
External mailboxesfor masking on mailboxes you host elsewhere, ornullwhen it is on no order.statusenumrequiredWhere the masking setup stands.
One of:
ActivePendingFailed
Responses
- 200OK. Your masked domains.
- 401No token. The
Authorizationheader is missing or notBearer <token>. - 429Busy. Too many large list calls are running at once. Wait for the
Retry-Afterseconds and try again. - 429Rate limited. More than 120 read calls in a minute. Wait for the
Retry-Afterseconds. - 500Server error. Something went wrong on our side. Try again.
