---
title: "Get the mail zone."
method: GET
path: "/mailzones/{domainName}"
tags: ["Mail zones"]
---

# Get the mail zone.

`GET /mailzones/{domainName}`

## Path parameters

- `domain_name` string, required

## Response `200`

OK

- MailZone
  - `name` string
  - `enabled` boolean — Indicates whether the mail zone is enabled.
  - `available_accounts` MailZoneAccount[] — List of mail zone accounts with their mailbox size.
    - `account_id` integer — Mail zone account id, use this value to create a mailbox
    - `size` integer — Size of mailbox(es) in MB
  - `aliases` Alias[] — List of aliases on the mail zone An alias is an e-mail address (alias) that automatically forwards received e-mails to another e-mail address (destination).
    - `email_address` string — The alias e-mail address
    - `destinations` string[] — The alias destination e-mail addresses
  - `anti_spam` AntiSpam
    - `type` 'none' | 'advanced' | 'basic' — Types of anti-spam scanning
    - `allowed_types` AntiSpamTypes[] — Allowed types of anti-spam scanning for this mail zone
  - `catch_all` CatchAll
    - `email_addresses` string[] — E-mail addresses to which all e-mails are sent to inexistent mailboxes or aliases
  - `smtp_domains` SmtpDomain[] — List of extra smtp domains on the mail zone SMTP domain names allow you to link multiple domain names to a single e-mail address. E-mails sent to an SMTP domain will be caught by the respective e-mail address on the main domain name.
    - `hostname` string — The smtp domain name
    - `enabled` boolean — Enabled

---

[API](https://skmtc.net/combell/apis/public-api.md) · [All operations](https://skmtc.net/combell/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/combell/public-api/versions/d6d1ea012567/schema)
