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('id');console.log(response.data);
Returns the count of all pending upload requests for the given external connection.
GET
/
external_connections
/
{id}
/
uploads
/
status
JavaScript
Copy
Ask AI
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('id');console.log(response.data);