Methods
Objects
Calls Analytics
Method | Description |
---|---|
analytics/calls.cli_countries | Calls origins by country |
analytics/calls.history | Calls count, duration, debit and credit over time. |
analytics/calls.inbound_did | Analytics by DID |
analytics/calls.outbound_countries | Outbound destinations by country |
analytics/calls.outbound_destinations | Outbound destinations by billing label |
analytics/calls.summary | Summary of your calls count, duration, debit and credit. |
analytics/calls.top_apps | Top apps |
analytics/calls.cli_countries
Calls origins by country
method: analytics/calls.cli_countries
params: [string sort, string from, string to, int limit]
Parameter | Type | Description | NULL |
---|---|---|---|
sort | string |
Sort order. Values: "COUNT", "DURATION" |
NO |
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
limit | int | Limit result quantity | NO |
Type | Description | Format/Object |
---|---|---|
array | Analytics | Array of Analytics.Calls.Country objects. |
analytics/calls.history
Calls count, duration, debit and credit over time.
method: analytics/calls.history
params: [string from, string to]
Parameter | Type | Description | NULL |
---|---|---|---|
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
Type | Description | Format/Object |
---|---|---|
object | Analytics | Object: Analytics.Calls.History |
analytics/calls.inbound_did
Analytics by DID
method: analytics/calls.inbound_did
params: [string sort, string from, string to, int limit]
Parameter | Type | Description | NULL |
---|---|---|---|
sort | string |
Sort order. Values: "COUNT", "DURATION" |
NO |
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
limit | int | Limit result quantity | NO |
Type | Description | Format/Object |
---|---|---|
array | Analytics | Array of Analytics.Calls.DID objects. |
analytics/calls.outbound_countries
Outbound destinations by country
method: analytics/calls.outbound_countries
params: [string sort, string from, string to, int limit]
Parameter | Type | Description | NULL |
---|---|---|---|
sort | string |
Sort order Values: "COUNT", "DURATION" |
NO |
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
limit | int | Limit result quantity | NO |
Type | Description | Format/Object |
---|---|---|
array | Analytics | Array of Analytics.Calls.Country objects. |
analytics/calls.outbound_destinations
Outbound destinations by billing label
method: analytics/calls.outbound_destinations
params: [string sort, string from, string to, int limit]
Parameter | Type | Description | NULL |
---|---|---|---|
sort | string |
Sort order Values: "COUNT", "DURATION" |
NO |
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
limit | int | Limit result quantity | NO |
Type | Description | Format/Object |
---|---|---|
array | Analytics | Array of Analytics.Calls.Destination objects. |
analytics/calls.summary
Summary of your calls count, duration, debit and credit.
method: analytics/calls.summary
params: [string from, string to]
Parameter | Type | Description | NULL |
---|---|---|---|
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
Type | Description | Format/Object |
---|---|---|
object | Analytics | Object: Analytics.Calls.Summary |
analytics/calls.top_apps
Top apps
method: analytics/calls.top_apps
params: [string type, string sort, string from, string to, int limit]
Parameter | Type | Description | NULL |
---|---|---|---|
type | string |
Type Values: "IN", "OUT" |
NO |
sort | string |
Sort order Values: "COUNT", "DURATION" |
NO |
from | string |
Date from Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
to | string |
Date to Format: datetime (YYYY-MM-DD HH:MM:SS in UTC timezone. Example: "2012-04-24 23:42:00") |
NO |
limit | int | Limit result quantity | NO |
Type | Description | Format/Object |
---|---|---|
array | Analytics | Array of Analytics.Calls.App objects. |