---
title: "Retrieve RecordNAPTR objects."
method: GET
path: "/record:naptr"
tags: ["record:naptr"]
---

# Retrieve RecordNAPTR objects.

`GET /record:naptr`

## Request

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

Use this method to retrieve __RecordNAPTR__ objects.

## Query parameters

- `paging` string
- `options` string

## Response `200`

GET operation response

- V3ListRecordNAPTRResponse: The response format to retrieve __RecordNAPTR__ 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` V3RecordNAPTR[]: List of RecordNAPTR objects.
    - `comment` string: Comment for the RecordNAPTR; maximum 1024 characters.
    - `creator` string: Creator for the RecordNAPTR. Note that changing creator from or to 'SYSTEM' value is not allowed.
    - `disable` boolean: Determines if the RecordNAPTR is disabled or not. False means that the RecordNAPTR is enabled.
    - `flags` string: A character string containing flags to control aspects of the rewriting and interpretation of the fields in the record. Valid flags: S, A, U, P.
    - `name` string, required: The name of the RecordNAPTR in FQDN format.
    - `order` integer, required: A 16-bit unsigned integer specifying the order in which NAPTR records must be processed. Lower values are processed first. Range: 0–65535.
    - `preference` integer, required: A 16-bit unsigned integer specifying the processing preference for records with equal order values. Lower values are processed first. Range: 0–65535.
    - `ref` string: infoblox.ddi.wapi.objectref
    - `regexp` string: A string containing a substitution expression applied to the original string to construct the next domain name to look up. Defaults to empty string.
    - `replacement` string, required: The next name to query for NAPTR, SRV, or address records depending on the value of the flags field. Can be an absolute or relative domain name.
    - `services` string: Specifies the service(s) available down this rewrite path. May also specify the protocol used to talk with a service.
    - `tags` object: The tags for the RecordNAPTR 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 RecordNAPTR is valid (cached). Zero indicates that the RecordNAPTR 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 RecordNAPTR resides. Example: "external".
    - `zone` string: The name of the zone in which the RecordNAPTR 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)
