---
title: "Retrieve RecordMX objects."
method: GET
path: "/record:mx"
tags: ["record:mx"]
---

# Retrieve RecordMX objects.

`GET /record:mx`

## Request

- Base URL: `https://csp.infoblox.com/wapi/v3`
- URL: `https://csp.infoblox.com/wapi/v3/record:mx`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/infoblox/apis/dns-data-web-api/docs/record:mx/get.ts> (a function with typed inputs; its response is checked against the schema)

Use this method to retrieve __RecordMX__ objects.

## Query parameters

- `paging` string
- `options` string

## Response `200`

GET operation response

- V3ListRecordMXResponse: The response format to retrieve __RecordMX__ objects.
  - `next_page_id` string: If there was a paging request, this is the paging token for the next page of results. This field is only set when paging is enabled and there are more results to retrieve.
  - `result` V3RecordMX[]: List of RecordMX objects.
    - `comment` string: Comment for the RecordMX; maximum 1024 characters.
    - `creator` string: Creator for the RecordMX. Note that changing creator from or to 'SYSTEM' value is not allowed.
    - `disable` boolean: Determines if the RecordMX is disabled or not. False means that the RecordMX is enabled.
    - `mail_exchanger` string, required: The mail exchanger host in FQDN format.
    - `name` string, required: The name of the RecordMX in FQDN format.
    - `preference` integer, required: Preference value for the MX record. An unsigned 16-bit integer which specifies the preference given to this RR among others at the same owner. Lower values are preferred. The range of the value is 0 to 65535.
    - `ref` string: infoblox.ddi.wapi.objectref
    - `tags` object: The tags for the RecordMX in JSON format.
    - `ttl` integer: The Time To Live (TTL) value for the record. A 32-bit unsigned integer that represents the duration, in seconds, for which the RecordMX is valid (cached). Zero indicates that the RecordMX should not be cached.
    - `use_ttl` boolean: Use flag for: _ttl_. If set to _true_, the TTL value is used for the record. If set to _false_, the TTL value is inherited from the zone.
    - `view` string: The name of the DNS view in which the RecordMX resides. Example: "external".
    - `zone` string: The name of the zone in which the RecordMX resides. Example: "zone.com". If a view is not specified when searching by zone, the default view is used.

---

[API](https://skmtc.dev/infoblox/apis/dns-data-web-api.md) - [All operations](https://skmtc.dev/infoblox/apis/dns-data-web-api/llms.txt) - [OpenAPI document](https://skmtc.dev/infoblox/apis/dns-data-web-api/revisions/b4b272e5590c?raw)
