We’ve launched a new REST API to replace the original Account Manager API, which dates from the early days before REST was common. You create access tokens on the new REST API Tokens page. Each token is limited to the permissions you choose, can be restricted to specific IP addresses, and every request it makes is recorded in the API log.
The first release covers:
- Mail domains: list, add, change mode, and remove
- Mail queues: view queued message counts and request immediate delivery (ETRN)
- Mail logs: incoming, delivery and submission logs, with CSV downloads
- Mailboxes: create, change passwords, and remove, optionally along with a matching Outbound Mail account
- User tables: view and change the mode and entries
- Secondary DNS zones
Example scripts are included in the documentation. The legacy API (/api/api.php) still works, but it won’t get new features and may be removed in the future, so we encourage moving to the REST API.
