Knowledge base · Your account
Create an API key
Make a key for scripts that list domains or manage mailboxes.
An API key lets a script work with your account, for example to list your domains or create a mailbox, without your password. Most customers never need one.
Create a key
- Open API keys in the sidebar.
- Give the key a name that says what it is for.
- Add allowed IP addresses or ranges if the script runs from a fixed place. Leave it blank to allow any address.
- Create the key and copy the secret straight away. It starts with
hq_and is shown only once.
Use the key
The API base address is https://panel.xcelsus.io/api/v1. Send the key as Authorization: Bearer … or in an X-API-Key header.
GET /mereturns the account for the key.GET /domainslists your domains.POST /domains/{uuid}/mailboxescreates a mailbox.POST /mailboxes/{uuid}/passwordchanges a mailbox password.POST /mailboxes/{uuid}/deletedeletes a mailbox.
Full examples are in the API wiki.
Manage keys
On the API keys page you can change a key’s allowed addresses, revoke it so it stops working, or delete it. Revoke any key you think has leaked.