1. Mailboxes
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. Mailboxes

Get Mailboxes by Domain ID

GET
https://server.scaledmail.com/api/v1/mailboxes/{domain_id}
đŸ“Ŧ Use this endpoint to list all mailboxes on a single domain, with each mailbox's alias, email address, and password.
To find a domain's domain_id, use the Get Domains endpoint.
→ Get Domains

🔑 Authentication#

Requires a valid API token.
GET /api/v1/mailboxes/:domain_id

🔑 Path Parameters#

domain_id (required)#

The domain's Airtable record ID, as returned by GET /domains (domains[].id).

🔑 Query Parameters#

organization_id (required)#

Your organization's ID. The domain must belong to this organization.

password (optional)#

Controls whether mailbox_password is included in the response. Opt-in — plaintext credentials are withheld unless you explicitly ask for them.
Omit, or pass anything other than "true" (default) — mailbox_password is omitted from every mailbox object.
Pass "true" — mailbox_password is included.

📋 Example Requests#


Example 1 — default (no passwords)#

GET /api/v1/mailboxes/recXXXXXXXXXXXXXX?organization_id=recXXXXXXXXXXXXXX
{
  "total": 1,
  "mailboxes": [
    {
      "first_name": "Jane",
      "last_name": "Doe",
      "alias": "jane",
      "domain_id": "recXXXXXXXXXXXXXX",
      "payment_id": "recXXXXXXXXXXXXXX",
      "status": "Active",
      "tag": "campaign-q3",
      "email": "jane@outreach-one.com",
      "order_type": "google",
      "order_id": "recXXXXXXXXXXXXXX"
    }
  ]
}

Example 2 — ?password=true (includes mailbox_password)#

GET /api/v1/mailboxes/recXXXXXXXXXXXXXX?organization_id=recXXXXXXXXXXXXXX&password=true
{
  "total": 1,
  "mailboxes": [
    {
      "first_name": "Jane",
      "last_name": "Doe",
      "alias": "jane",
      "domain_id": "recXXXXXXXXXXXXXX",
      "payment_id": "recXXXXXXXXXXXXXX",
      "status": "Active",
      "tag": "campaign-q3",
      "mailbox_password": "Sup3rSecret!",
      "email": "jane@outreach-one.com",
      "order_type": "google",
      "order_id": "recXXXXXXXXXXXXXX"
    }
  ]
}

📋 Response Fields#

FieldDescription
totalTotal number of mailboxes returned
mailboxes[].first_nameMailbox first name
mailboxes[].last_nameMailbox last name
mailboxes[].aliasThe mailbox's local part (before the @)
mailboxes[].domain_idAirtable record ID of the domain this mailbox belongs to
mailboxes[].payment_idAirtable record ID of the payment this domain belongs to
mailboxes[].statusCurrent order status of the domain this mailbox is on
mailboxes[].tagCustom tag set on this domain's order (empty string if none)
mailboxes[].mailbox_passwordPlaintext password for this mailbox. Only present when ?password=true is passed — omitted by default
mailboxes[].emailFull email address (alias@domain)
mailboxes[].order_typeProvider type: "google", "outlook", or "smtp"
mailboxes[].order_idAirtable record ID of the order this domain belongs to

âš ī¸ Error Responses#

domain_id does not exist#

{ "message": "Unable to get mailboxes or domain ID does not exist" }

â„šī¸ Notes#

profile_picture is included per-mailbox when one was set on the order — otherwise the field is omitted.
If the domain has no mailboxes yet, mailboxes is returned as an empty array.
If domain_id exists but belongs to a different organization than organization_id, this does not error — it responds 200 with total: 0 and mailboxes: [] by default, or mailboxes: null if ?password=true is passed.

Request

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

Query Params

Responses

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

Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://server.scaledmail.com/api/v1/mailboxes/?organization_id=' \
--header 'Authorization: Bearer <token>'
Response Response Example
{}
Modified at 2026-09-21 11:16:07
Previous
Update Order Tag
Next
Get Reporting Stats
Built with