---
title: "Return all MX Records found for given zone"
method: GET
path: "/domains/{domainID}/mx-record"
tags: ["Domains"]
---

# Return all MX Records found for given zone

`GET /domains/{domainID}/mx-record`

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- MXRecordReturn[]
  - `domainId` integer, required
  - `exchange` string, required
  - `id` integer, required
  - `name` string, required
  - `preference` integer, required
  - `ttl` integer, required
  - `type` string, required

## Other responses

- `400` — Error
- `403` — You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission.
- `404` — Not found

---

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