---
title: "List FQDNs"
method: GET
path: "/fqdns"
tags: ["FQDNs"]
---

# List FQDNs

`GET /fqdns`

Get all FQDNs belonging to the user that match the given filters.

## Query parameters

- `filter` object
  - `connection_id` string — ID of the FQDN connection to which the FQDN belongs.
  - `fqdn` string — FQDN represented by the resource.
  - `port` integer — Port to use when connecting to the FQDN.
  - `dns_record_type` string — DNS record type used by the FQDN.
- `page[number]` integer
- `page[size]` integer

## Response `200`

Successful response with a list of FQDN connections.

- object
  - `data` Fqdn[]
    - `id` string — Identifies the resource.
    - `record_type` string — Identifies the type of the resource.
    - `connection_id` string — ID of the FQDN connection to which this FQDN is attached.
    - `fqdn` string — FQDN represented by this resource.
    - `port` integer — Port to use when connecting to this FQDN.
    - `dns_record_type` string — The DNS record type for the FQDN. For cases where a port is not set, the DNS record type must be 'srv'. For cases where a port is set, the DNS record type must be 'a'. If the DNS record type is 'a' and a port is not specified, 5060 will be used.
    - `created_at` string — ISO 8601 formatted date indicating when the resource was created.
    - `updated_at` string — ISO 8601 formatted date indicating when the resource was updated.
  - `meta` ConnectionsPaginationMeta
    - `total_pages` integer, required
    - `total_results` integer
    - `page_number` integer, required
    - `page_size` integer

## Other responses

- `400` — Bad request, the request was unacceptable, often due to missing a required parameter.
- `401` — Unauthorized

---

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