Get the count of pending upload requests
Returns the count of all pending upload requests for the given external connection.
GET
JavaScript
JavaScript
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
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
}
}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
}
}