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

Mailboxes

List mailboxes

List the mailboxes of one domain: sender name, address, the order it is on and, if you ask for it, the password.

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

Passwords are only sent when you ask with ?password=true. Treat the answer as a secret: don't log it or store it in plain text.

A domain you only point to us for domain masking has no mailboxes: the list is empty.

Path parameters

  • domainstringrequiredat most 253 characters

    The domain name, like demo-domain-1.com (case is ignored), or the domain's id from GET /domains. Expired and released domains are not found.

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.

  • passwordstringoptional

    Send true to get mailbox_password on every mailbox. Left out (or any other value), no passwords are sent. Every workspace role (owner, admin, member) may see passwords.

Response (200)

  • totalintegerrequired

    How many mailboxes are listed.

  • mailboxesobject[]required

    The domain's mailboxes, sorted by address. Cancelled mailboxes are left out. Empty when the domain has none yet.

    Show child fields
    • first_namestringrequired

      Sender first name.

    • last_namestringrequired

      Sender last name.

    • aliasstringrequired

      The part of the address before the @.

    • domain_idstringrequired

      Id of the domain (the id in GET /domains).

    • payment_idstringrequired

      The order this mailbox is on (sub_..., the id in GET /orders).

    • statusstringrequired

      Status of that order, in words: Pending Form, Submitted, Provisioning, Active, Cancelling or Cancelled.

    • tagstringrequired

      The tag of the order. Empty text when there is none.

    • mailbox_passwordstringoptional

      Only with ?password=true. The password of the domain's mailboxes (they share one). Empty text if it can't be read right now.

    • emailstringrequired

      Full address, alias@domain.

    • order_typeenum | nullrequired

      The kind of mailbox.

Responses

  • 200OK. The domain was found. Without ?password=true.
  • 200OK, with passwords. The same call with ?password=true.
  • 404Domain not found. No such domain in this workspace. A domain of another workspace looks the same.
  • 401No token. The Authorization header is missing or not Bearer <token>.
  • 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.