curl -X GET "https://mail.example.com/api/v1/get/domain/all" -H "X-API-Key: $MAILCOW_API_KEY"
List all domains via the Mailcow API
This returns every domain with its quota usage, alias and mailbox counts, and active state. Useful for audits of how many domains the server hosts. Filter with jq to find domains over their quota.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.