curl -X GET "https://mail.example.com/api/v1/get/mailbox/all" -H "X-API-Key: $MAILCOW_API_KEY"

Category: Mail Servers & Postfix

curl -X GET "https://mail.example.com/api/v1/get/mailbox/all" -H "X-API-Key: $MAILCOW_API_KEY"

List all mailboxes via the Mailcow API

The v1 API authenticates with the X-API-Key header, where the key comes from the admin UI under System, API. This call returns every mailbox with its quota, active flag, and attributes as JSON. Pipe through jq to filter on fields.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.