import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const releases = await client.externalConnections.releases.list('id');
console.log(releases.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"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Returns a list of your Releases for the given external connection. These are automatically created when you change the connection_id of a phone number that is currently on Microsoft Teams.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const releases = await client.externalConnections.releases.list('id');
console.log(releases.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"
}
],
"meta": {
"total_pages": 3,
"total_results": 55,
"page_number": 2,
"page_size": 25
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Identifies the resource.
"1293384261075731499"
Filter parameter for releases (deepObject style). Supports filtering by status, civic_address_id, location_id, and phone_number with eq/contains operations.
Show child attributes
Phone number filter operations. Use 'eq' for exact matches or 'contains' for partial matches.
Successful response
Show child attributes
Uniquely identifies the resource.
"542c3bca-d247-42bc-8fe7-e01d16ecd761"
"ea175aba-f47c-4702-9400-efaa42688048"
Represents the status of the release on Microsoft Teams.
pending_upload, pending, in_progress, complete, failed, expired, unknown "pending"
A message set if there is an error with the upload process.
ISO 8601 formatted date indicating when the resource was created.
"2018-02-02T22:25:27.521Z"
Was this page helpful?