This endpoint will return hourly statistics of usage grouped either by phone number or workflow with optional filtering to only see the results for a single phone number or workflow.
Returned values:
campaignId: Associated workflow if grouping by workflow.
number: Phone number if grouping by phone number
hourMs: Start of the aggregated hour in epoch milli.
sms: Data object containing information about sms traffic.
sms.inbound: Number of sms inbound messages.
sms.outbound: Number of sms outbound messages.
call: Data object containing information about call data. These are separated by call type.
call.inbound: Number of inbound calls completed during this period of time.
call.outbound: Number of outbound calls completed during this period of time.
call.inboundDurationSeconds: Number of seconds of inbound calls completed during this period of time.
call.outboundDurationSeconds: Number of seconds of outbound calls completed during this period of time.
