Galon Cloud
Galon API v1

/mail-pro/domains/{domain_id}

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

GET /mail-pro/domains/{domain_id}

Get a Mail Pro domain

Scopes mailpro:read / mailpro:write. Galon Mail Pro (hosted mailboxes) is served only when the service is open to the account (404 not_found otherwise). Errors: envelope {"error": {code, message_key, retryable, ...}}, mailpro.* codes.

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
domain_idpathstring · requiredMail Pro domain identifier

Responses

StatusDescriptionBody
200Status and DNS linesobject
401Key missing or invalidError

Examples

curl

curl -X GET "$GALON_API_BASE/mail-pro/domains/<domain_id>" \
  -H "Authorization: Bearer $GALON_API_KEY"

DELETE /mail-pro/domains/{domain_id}

Remove a Mail Pro domain

Scopes mailpro:read / mailpro:write. Galon Mail Pro (hosted mailboxes) is served only when the service is open to the account (404 not_found otherwise). Errors: envelope {"error": {code, message_key, retryable, ...}}, mailpro.* codes. Refused while a mailbox or an alias lives on it.

API key (Bearer), on the public API endpoint.

Parameters

NameInTypeDescription
domain_idpathstring · requiredMail Pro domain identifier

Responses

StatusDescriptionBody
200Domain removedobject
401Key missing or invalidError

Examples

curl

curl -X DELETE "$GALON_API_BASE/mail-pro/domains/<domain_id>" \
  -H "Authorization: Bearer $GALON_API_KEY"