API Endpoint Statistics

Shows API usage statistics

Returns statistics of endpoints used by account. Your token should have 'oauth-management' scope to perform this request.

get/v4/accounts/{voip_id}/api-statistics

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/api-statistics
  • Auth: HTTP bearer

Path parameters

voip_idinteger required

Query parameters

offsetinteger

The number of items to skip before starting to collect the result set

limitinteger

The number of items to return

sort[id]'asc' | 'desc'

Sort response

include_subaccountsinteger

Send "1" if you want to add subaccounts data into output

filters[from]string

From time (unix timestamp, including)

filters[to]string

To time (unix timestamp, not including)

mode'brief' | 'full'

Defines mode of the data output (brief or full)

Response

OK

filtersobject
sortobject
totalinteger
limitinteger
offsetinteger
itemsobject[]

Changes

No operation changes recorded.