import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.managedAccounts.getAllocatableGlobalOutboundChannels();
console.log(response.data);{
"data": {
"allocatable_global_outbound_channels": 500,
"record_type": "allocatable_global_outbound_channels",
"total_global_channels_allocated": 135
}
}Display information about allocatable global outbound channels for the current user. Only usable by account managers.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
const response = await client.managedAccounts.getAllocatableGlobalOutboundChannels();
console.log(response.data);{
"data": {
"allocatable_global_outbound_channels": 500,
"record_type": "allocatable_global_outbound_channels",
"total_global_channels_allocated": 135
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful response with information about allocatable global outbound channels.
Show child attributes
Boolean value that indicates if the managed account is able to have custom pricing set for it or not. If false, uses the pricing of the manager account. Defaults to false. This value may be changed, but there may be time lag between when the value is changed and pricing changes take effect.
false
The total amount of allocatable global outbound channels available to the authenticated manager. Will be 0 if the feature is not enabled for their account.
500
The type of the data contained in this record.
"allocatable_global_outbound_channels"
The total number of allocatable global outbound channels currently allocated across all managed accounts for the authenticated user. This includes any amount of channels allocated by default at managed account creation time. Will be 0 if the feature is not enabled for their account.
135
{
"allocatable_global_outbound_channels": 500,
"record_type": "allocatable_global_outbound_channels",
"total_global_channels_allocated": 135
}Was this page helpful?