Skip to main content

List FQDNs

GET 
/fqdns

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

Request

Query Parameters

    page object

    Consolidated page parameter (deepObject style). Originally: page[size], page[number]

    filter object

    Consolidated filter parameter (deepObject style). Originally: filter[connection_id], filter[fqdn], filter[port], filter[dns_record_type]

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
}
}