Partner API for ERPs and platforms
How a partner system creates and maintains its own customers’ companies with the amp_ key.
The partner API is for systems (such as ERPs) that offer Amati Mail to their own customers.
The partner key
The partner receives from the Amati team a key starting with amp_. It only opens the /partner/* routes. To become a partner, talk to our team.
What the partner does with it
- Lists the available plans.
- Creates each customer’s company, already active, with billing handled by the partner. Creation is idempotent by
external_id: repeating it returns the same company. - Changes the plan, turns apps on and off, suspends and reactivates the company.
- Generates the company’s
amk_key and registers webhooks on it. - Generates a panel access link, single use and valid for a few minutes, that opens the panel as the company owner.
Everything else (domains, mailboxes, transactional email, campaigns) uses the company key on the usual routes.
Important details
- The owner email given at creation becomes the Owner. If the account doesn't exist, it is created with the email already confirmed.
- The access link is refused when the owner also uses Amati in companies that are not the partner’s. Anyone with two-step verification on lands on the login screen.
- Reactivation by the partner only undoes a suspension the partner itself made. A suspension made by Amati can only be lifted by support.
- A domain the partner already had on the server can be adopted with its mailboxes, without new DNS.
All routes, fields and responses are in the API documentation, in the Partner group.
Did not find the answer?
Log in to the panel and talk to support, or write to suporte@amati.digital.