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

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

const fqdn = await client.fqdns.retrieve('id');

console.log(fqdn.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"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<int64>
required

Identifies the resource.

Example:

"1517907029795014409"

Response

Successful response with details about an FQDN connection.

data
Fqdn · object
Example:
{
"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"
}