List Mailboxes
Gets all the Mailbox resources of a given account.
smtppy.listmailboxes(accountId, page)
Parameters
accountId
(string) (required) - The account identifierpage
(int) - The collection page number
Response
{
"member": [
{
"@context": "string",
"@id": "string",
"@type": "string",
"id": "string",
"path": "string",
"isSystem": false,
"autoDeleteEnabled": false,
"autoDeleteSeconds": 0,
"totalMessages": 0,
"totalUnreadMessages": 0,
"account": "string",
"createdAt": "2025-04-07T05:53:58.747Z",
"updatedAt": "2025-04-07T05:53:58.748Z"
}
],
"totalItems": 0,
"view": {
"@id": "string",
"type": "string",
"first": "string",
"last": "string",
"previous": "string",
"next": "string"
},
"search": {
"@type": "string",
"template": "string",
"variableRepresentation": "string",
"mapping": [
{
"@type": "string",
"variable": "string",
"property": "string",
"required": true
}
]
}
}
Last updated