List Accounts
Returns a list of domains.
smtppy.listaccounts(address, isActive, page)
Parameters
isActive
(boolean) - Filter by active statuspage
(int) - The collection page numberaddress
(string) - Filter by account address
Response
{
"member": [
{
"id": "string",
"address": "user@example.com",
"quota": 0,
"used": 0,
"isActive": true,
"isDeleted": false,
"createdAt": "2025-04-01T00:00:00.000Z",
"updatedAt": "2025-04-01T00:00:00.000Z"
}
],
"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