Retrieve an FQDN
GET/fqdns/:id
Return the details regarding a specific FQDN.
Request
Path Parameters
id int64required
Identifies the resource.
Responses
200: Successful response with details about an FQDN connection.
- application/json
400: Bad request, the request was unacceptable, often due to missing a required parameter.
- application/json
401: Unauthorized
- application/json
403: The user doesn't have the required permissions to perform the requested action.
- application/json
404: The requested resource doesn't exist.
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/fqdns/:id' \
-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"
}
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}
{
"errors": [
{
"code": "string",
"detail": "string",
"meta": {
"url": "string"
},
"title": "string",
"source": {
"pointer": "string"
}
}
]
}