Get billing-relevant ticket count per channel
GET
/openapi/reporting/billingticketperchannel
const url = 'https://open-api.replyco.com/openapi/reporting/billingticketperchannel';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://open-api.replyco.com/openapi/reporting/billingticketperchannel \ --header 'Authorization: Bearer <token>'Returns ticket counts per channel for billing/invoicing purposes.
Data provided:
- Billable tickets per channel
- Channel-specific usage
- Period-over-period comparison
- Volume trends
Use cases:
- Usage-based billing
- Invoice generation
- Cost allocation
- Subscription tier evaluation
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”from
string format: date-time
Start date for billing period (optional)
to
string format: date-time
End date for billing period (optional)
Responses
Section titled “Responses”Returns billing tickets per channel
Invalid date parameters
User is not authenticated or authorized