Voice call statistics

Dillo allows you to receive calls on your Dillo numbers. When an incoming call is received, you can decide the behavior with a phone application created on your account and assigned it to your number.

Prerequisites
  1. Have an account.If you don't have an account you can create one here.
  2. A phone number to receive calls. You can buy a Dillo number through the Phone number module, Buy new number page.
  3. Phone application assigned to the number. You can create a custom phone application in your account through the Voice module, Application Phone page.
With Dillo API you can get the list with the inbound calls you received in a month.
https://api.dillo.cloud/api/inbound/voice/{inboundActiveNumber}/{startDate}/{endDate}/{page?}
***Replace {inboundActiveNumber} with the inbound phone number, {startDate} with the begin date and {endDate} with the end period.

The request has the following parameters:

ParameterDescriptionRequiredValue
InboundActiveNumberThe inbound telephone number (must contain the country dial code, ex: 39 for Italy, 44 for UK, 40 for Romania) Yes
StartDateThe begin period for the statistics. The maximum period allowed is 31 days. Yes Must have "yyyy-MM-dd" format
EndDateThe end period for the statistics. The maximum period allowed is 31 days. Yes Must have "yyyy-MM-dd" format
PageThe page number for pagination.The response will contain a maximum of 20 items. NoDefault value 1.
Please note that you have to add the authorization headers to every request you make to the Dillo API.

Request Example

The response is a list of InboundVoiceCall, that has the following properties:
Property TypeDescription
CustomerCode
String
The customer code who received the call
CreatedOnUtc
String
The UTC date when the call was received
TelephoneNumber
String
The phone number which made the call
InboundActiveNumber
String
The phone number which received the call. The same value as the parameter.
InboundActiveNumberId
String
The id of the inbound phone number.
CallDuration
double
Call duration in seconds
IsFallbackExecuted
boolean
Indicates if the fallback application phone was executed. If false the primary application phone was executed.
Price
decimal
The total cost of the voice call
ChannelBehavior
String
The channel behavior that was executed during the voice call
Recordings
array
The list of voice call recordings with their transcriptions and their prices if any
CollectedDigits
array
The list of the collected digits
DialActions
array
The list of the dial actions executed during the voice call