Skip to main content
GET
/
fqdns
JavaScript
import Telnyx from 'telnyx';

const client = new Telnyx({
  apiKey: 'My API Key',
});

const fqdns = await client.fqdns.list();

console.log(fqdns.data);
{
  "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
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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]

Response

Successful response with a list of FQDN connections.

data
Fqdn · object[]
meta
Pagination Meta · object