Domains
List domains
List the domains on your live orders, with their mailboxes, tag, status, redirect and masking. Newest first, up to 2,000 per page.
https://server.scaledmail.com/api/v1/domains- Token access
- Read
- Rate limit
- 120 read calls per minute per token
Always paged. While next_ is not null, call again with &cursor=<next_ to get the next page.
Domains with a cancellation requested are listed (Cancel requested). Cancelled, expired and released domains, masking-only domains and bought domains not on an order are not.
?password=true puts mailbox passwords in the answer. Only ask for them when you need them.
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.. . . limitintegeroptional1 to 2000How many domains to return in one call. Default
2000.cursorstringoptionalTo get the next page, send the
next_of the previous answer. Leave it out for the first page.cursor passwordstringoptionalSend
trueto includemailbox_. Any other value, or none, leaves passwords out. Every workspace role (owner, admin, member) may see passwords.password
Response (200)
totalintegerrequiredHow many domains are in this page, not in the workspace.
domainsobject[]requiredThe domains, newest first.
ShowHide child fields
idstringrequiredThe domain's id (a UUID).
domainstringrequiredThe domain name.
tagstringrequiredThe tag of this domain's order. Empty when none.
redirectstringrequiredWhere the domain redirects to. Empty when none.
mailbox_passwordstringoptionalThe password shared by this domain's mailboxes. Only with
?password=true. Empty when it has no live mailbox or can't be read.order_typeenum | nullrequiredThe mailbox provider of the domain's order.
payment_idstringrequiredThe order this domain is on (
sub_), as in. . . GET /orders.domain_providerstringrequiredWhere the domain comes from:
Scaledmail(bought from us),Pre-Warm Scaledmail, or the registrar you named. Empty when unknown.total_mailboxesintegerrequiredHow many mailboxes are on this domain.
mailboxobject[]requiredThe domain's mailboxes, by address.
ShowHide child fields
first_namestringrequiredFirst name of the sender.
last_namestringrequiredLast name of the sender.
aliasstringrequiredThe part before the
@. The address is{alias}@{domain}.
statusstringrequiredThe domain's status as the app shows it, e.g.
Active,New order,In progress,Waiting,Updating,Cancel requested.domain_maskingbooleanrequiredtruewhen Domain Masking is on for this domain.mask_domainstringrequiredThe domain it is masked to. Empty when none.
domain_masking_ipstringrequiredThe masking IP. Empty when none.
domain_masking_statusstringrequiredStatus of the domain's redirect or masking setup:
Pending,Active,Failed,Cancelling(masking is being removed), or empty when none.
next_cursorstring | nullrequiredSend it as
cursorto get the next page.null= no more pages. When the last page is exactly full, the next call answers an empty page withnull.
Responses
- 200OK. One page of domains. Here with
?password=true; without itmailbox_is left out.password - 400Invalid paging.
limitis not a whole number from 1 to 2000, orcursoris not anext_from a previous answer.cursor - 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.
