Categories
Uncategorized

Introducing the Control Center REST API

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

This site uses Akismet to reduce spam. Learn how your comment data is processed.