🧪 Sandbox only for now. This endpoint is currently available in the sandbox environment only; live access is coming soon.
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.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.mailboxes:readcurl --location 'https://api.resellerstack.ai/api/v1/mailboxes?domain=example.com&contains=alice&page=1&limit=50' \
--header 'rs-x-api-key: <api-key>'{
"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
}
}