Check out our upcoming events and meetups! View events →
Return the details of a Release request and its phone numbers.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const release = await client.externalConnections.releases.retrieve(
'7b6a6449-b055-45a6-81f6-f6f0dffa4cc6',
{ id: '1293384261075731499' },
);
console.log(release.data);{
"data": {
"ticket_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761",
"tenant_id": "ea175aba-f47c-4702-9400-efaa42688048",
"status": "pending",
"error_message": "<string>",
"telephone_numbers": [
{
"phone_number": "<string>",
"number_id": "<string>"
}
],
"created_at": "2018-02-02T22:25:27.521Z"
}
}Documentation Index
Fetch the complete documentation index at: https://developers.telnyx.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the resource.
"1293384261075731499"
Identifies a Release request
"7b6a6449-b055-45a6-81f6-f6f0dffa4cc6"
Successful response
Show child attributes
Was this page helpful?
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const release = await client.externalConnections.releases.retrieve(
'7b6a6449-b055-45a6-81f6-f6f0dffa4cc6',
{ id: '1293384261075731499' },
);
console.log(release.data);{
"data": {
"ticket_id": "542c3bca-d247-42bc-8fe7-e01d16ecd761",
"tenant_id": "ea175aba-f47c-4702-9400-efaa42688048",
"status": "pending",
"error_message": "<string>",
"telephone_numbers": [
{
"phone_number": "<string>",
"number_id": "<string>"
}
],
"created_at": "2018-02-02T22:25:27.521Z"
}
}