Skip to main content

List FQDNs

GET 
/fqdns

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

Request

Query Parameters

    page[number] integer

    Possible values: >= 1

    Default value: 1

    The page number to load

    page[size] integer

    Possible values: >= 1 and <= 250

    Default value: 250

    The size of the page

    filter[connection_id] string

    ID of the FQDN connection to which the FQDN belongs.

    filter[fqdn] string

    FQDN represented by the resource.

    filter[port] integer

    Port to use when connecting to the FQDN.

    filter[dns_record_type] string

    DNS record type used by the FQDN.

Responses

200: Successful response with a list of FQDN connections.

400: Bad request, the request was unacceptable, often due to missing a required parameter.

401: Unauthorized

Request samples


curl -L 'https://api.telnyx.com/v2/fqdns' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>'

Response samples


{
"data": [
{
"id": "1293384261075731499",
"record_type": "fqdn",
"connection_id": "1516447646313612565",
"fqdn": "example.com",
"port": 5060,
"dns_record_type": "a",
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}