Call Logs

List Call Logs

Get a list of call details associated with your account

get/v4/accounts/{voip_id}/call-logs

Request

  • Base URL: https://api.phone.com
  • URL: https://api.phone.com/v4/accounts/{voip_id}/call-logs
  • 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[id]string

Call UUID

filters[start_time]string

Call start time filter. Expected value is UNIX timestamp with operator like "gt" (greater than), "gte" (greater than or equals), "lt" (lesser than), "lte" (lesser than or equals). Example: "gt:1597778180".

filters[created_at]string

Call log creation time filter. Expected value is UNIX timestamp with operator like "gt" (greater than), "gte" (greater than or equals), "lt" (lesser than), "lte" (lesser than or equals). Example: "gt:1597778180".

filters[direction]string

Call direction filter: in or out

filters[type]string

Call type, such as 'call', 'fax', 'audiogram'

filters[extension]string

Account extension filter

filters[called_number]string

Called number

filters[caller]string

Number of the caller

filters[number]string

Filter by your number (no matter if it is inbound or outbound call). Accepts list of numbers: "in:%2B15555550001,%2B15555550002" ("%2B" stands for "+" in query string).

filters[other_number]string

Filter by other party's number (no matter if it is inbound or outbound call). Accepts list of numbers: "in:%2B15555550001,%2B15555550002" ("%2B" stands for "+" in query string).

filters[call_duration]string

Duration of the call

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.