Check out our upcoming events and meetups! View events →
Returns the count of all pending upload requests for the given external connection.
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: process.env['TELNYX_API_KEY'], // This is the default and can be omitted
});
const response = await client.externalConnections.uploads.pendingCount('1293384261075731499');
console.log(response.data);{
"data": {
"pending_numbers_count": 123,
"pending_orders_count": 123
}
}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.
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 response = await client.externalConnections.uploads.pendingCount('1293384261075731499');
console.log(response.data);{
"data": {
"pending_numbers_count": 123,
"pending_orders_count": 123
}
}