import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
await client.legacy.reporting.usageReports.numberLookup.create();Submit a new telco data usage report
import Telnyx from 'telnyx';
const client = new Telnyx({
apiKey: 'My API Key',
});
await client.legacy.reporting.usageReports.numberLookup.create();Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Telco data usage request data
Start date for the usage report
"2025-02-10"
End date for the usage report
"2025-02-10"
Type of aggregation for the report
ALL, BY_ORGANIZATION_MEMBER "ALL"
List of managed accounts to include in the report
[
"f47ac10b-58cc-4372-a567-0e02b2c3d479",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
]Successfully submitted telco data usage report
Was this page helpful?