đŦ 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
GET /api/v1/mailboxes/:domain_iddomain_id (required)GET /domains (domains[].id).organization_id (required)password (optional)mailbox_password is included in the response."true" (default) â mailbox_password is included."false" â mailbox_password is omitted from every mailbox object.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",
"mailbox_password": "âĸâĸâĸâĸâĸâĸâĸâĸ",
"email": "jane@outreach-one.com",
"order_type": "google",
"order_id": "recXXXXXXXXXXXXXX"
}
]
}domain_id does not exist{ "message": "Unable to get mailboxes or domain ID does not exist" }profile_picture is included per-mailbox when one was set on the order â otherwise the field is omitted.mailboxes is returned as an empty array.domain_id exists but belongs to a different organization than organization_id, this does not error â it responds 200 with total: 0 and mailboxes: null (or mailboxes: [] if ?password=false is passed).curl --location 'https://server.scaledmail.com/api/v1/mailboxes/?organization_id=' \
--header 'Authorization: Bearer <token>'{}