Overview
Base URL:
https://panel.xcelsus.io/api/v1
All responses are JSON. Successful payloads use a data wrapper. Mutations accept JSON (Content-Type: application/json) or form fields.
Customer API reference — authenticate with an API key and manage mailboxes and domains.
Sign in to create API keys API root
Base URL:
https://panel.xcelsus.io/api/v1
All responses are JSON. Successful payloads use a data wrapper. Mutations accept JSON (Content-Type: application/json) or form fields.
Create a key under API keys in the portal (after sign-in). The full secret is shown once.
Send it with either header:
Authorization: Bearer hq_abcdef012345_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# or
X-API-Key: hq_abcdef012345_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Keys start with hq_. Treat them like passwords.
Each key can allow any IP (leave blank) or a list of IPv4 addresses / CIDR ranges (e.g. 203.0.113.10, 198.51.100.0/24).
Requests are checked against the connecting IP. Your current IP from this browser: 216.73.216.245
{
"error": {
"message": "Human-readable explanation",
"code": "unauthorized|forbidden|not_found|validation_error|bad_request"
}
}
Returns the account bound to the API key.
curl -s -H "Authorization: Bearer $API_KEY" \
https://panel.xcelsus.io/api/v1/me
List domains you can access. Each item includes whether mail is enabled.
Domain detail.
List mailboxes on that domain (empty array if mail is not enabled).
Create a mailbox. Mail must already be enabled for the domain in the panel.
| Field | Required | Notes |
|---|---|---|
local_part | yes | Left side of the email (info → info@domain) |
password | no | Min 7 chars. If omitted, a random password is generated and returned. |
display_name | no | Friendly name |
quota_mb | no | Default 1024; range 100–102400 |
curl -s -X POST \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"local_part":"info","password":"ChooseAStrongPass1","quota_mb":1024}' \
https://panel.xcelsus.io/api/v1/domains/DOMAIN_UUID/mailboxes
Mailbox detail.
Queue a password change.
{"password":"NewStrongPass1"}
Delete the mailbox (and aliases that point only at it).
export API_KEY='hq_…'
export BASE='https://panel.xcelsus.io/api/v1'
# Who am I?
curl -s -H "Authorization: Bearer $API_KEY" "$BASE/me" | jq
# List domains and pick a uuid
curl -s -H "Authorization: Bearer $API_KEY" "$BASE/domains" | jq
# Create mailbox
curl -s -X POST \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"local_part":"sales","display_name":"Sales"}' \
"$BASE/domains/DOMAIN_UUID/mailboxes" | jq