1. Licenses & Mailboxes
ResellerStack Developer API
  • Introduction
  • Quick start
  • API Reference
    • Customers
      • List customers
      • Create customer
      • Get customer
      • Update customer notes
      • Update customer status
      • Update billing details
    • Geo
      • List countries
      • List states
    • Pricing
      • List TLD pricing
      • Update TLD pricing
      • Set TLD featured
      • Apply bulk margin
      • Reorder TLD pricing
    • Domains
      • List domains
      • Check domain availability
      • Register a domain
      • Checkout domain cart (bulk)
      • Toggle WHOIS privacy
      • Update domain contacts
      • Get domain
      • Toggle transfer lock
      • Toggle auto-renew
      • Preview renewal price
      • Renew domain now
      • Register a domain with Google Workspace
      • List bundle offers for a name
      • Register a bundle
    • Contacts
      • List contacts
      • Create contact
      • Get contact
    • Orders
      • List orders
      • Get order
    • DNS
      • List DNS records
      • Add DNS records
      • Update DNS record
      • Delete DNS record
      • Update nameservers
      • Reset nameservers
      • List DNSSEC records
      • Add DNSSEC record
      • Delete DNSSEC record
    • Wallet
      • Get wallet balance
    • Webhooks
      • workspace.pastdue
      • workspace.expired
      • workspace.txt.failed
      • workspace.renewed
      • workspace.provisioned
      • workspace.txt.ready
      • workspace.txt.propagated
      • workspace.licenses.increased
      • workspace.deleted
      • workspace.failed
      • mailbox.ready
      • mailbox.deleted
      • workspace.dkim.ready
      • workspace.dkim.propagated
      • workspace.domain.swapped
      • Delivered when domain.order.success fires
      • Delivered when domain.order.failed fires
      • Delivered when domain.renewal.success fires
      • Delivered when domain.renewal.failed fires
    • GWS
      • Google Workspace ~ Creation Flow
      • Google Workspace ~ Sandbox Environment
      • Check Workspace Exists
      • Create Workspace
      • List Workspaces
      • Delete Workspace
      • Check DNS Propagation
      • Renew Workspace
      • Change Primary Domain (Beta)
    • Licenses & Mailboxes
      • Create Mailbox
        POST
      • List Mailboxes
        GET
      • Delete Mailboxes
        DELETE
      • Decrease Seats
        POST
  • Health check
    GET
  • Get current partner
    GET
  1. Licenses & Mailboxes

List Mailboxes

Production
https://api.resellerstack.ai/api/v1
Production
https://api.resellerstack.ai/api/v1
GET
/mailboxes
🧪 Sandbox only for now. This endpoint is currently available in the sandbox environment only; live access is coming soon.
List mailboxes on a workspace, with their credentials.
password is the Google account password you supplied at creation and is always present. appPassword is for SMTP/IMAP and totpSecret accompanies it - both keys are always present on the object and are null until generated. Once the mailbox.ready webhook has fired for a mailbox, both are populated, so you can always re-read them with this endpoint.
Use appPassword with Google's fixed hosts: smtp.gmail.com:587 (STARTTLS) and imap.gmail.com:993 (SSL), username being the mailbox's own address.
contains matches a substring of the full email address. Page size is capped at 50 because this response carries credentials.
Scope: mailboxes:read

Request

Authorization
API Key
Add parameter in header
rs-x-api-key
Example:
rs-x-api-key: ********************
or
Query Params

Responses

🟢200Success
application/json
Paginated list of mailboxes, oldest first. Mailboxes that are not yet active omit appPassword and totpSecret.
Bodyapplication/json

🟠403Forbidden
🟠404Not Found
🟠422Validation Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.resellerstack.ai/api/v1/mailboxes?domain=example.com&contains=alice&page=1&limit=50' \
--header 'rs-x-api-key: <api-key>'
Response Response Example
200 - Example 1
{
    "status": 200,
    "message": "Mailboxes",
    "data": {
        "mailboxes": [
            {
                "email": "alice@example.com",
                "domain": "example.com",
                "firstName": "Alice",
                "lastName": "Smith",
                "isAdmin": false,
                "status": "provisioning",
                "mfaEnabled": true,
                "password": "Str0ng!Pass#1",
                "appPassword": "abcd efgh ijkl mnop",
                "totpSecret": "JBSWY3DPEHPK3PXP",
                "createdAt": "2026-09-16T20:00:00.000Z"
            }
        ],
        "total": 3,
        "page": 1,
        "limit": 50
    }
}
Modified at 2026-10-22 09:07:25
Previous
Create Mailbox
Next
Delete Mailboxes
Built with