get https://api.acefone.co.uk/v1/live_calls
Using the below method, details of current live calls can be retrieved.
curl --request GET \
--url https://api.acefone.co.uk/v1/live_calls \
--header 'accept: application/json' \
--header 'authorization: Authorization'
Variable Name | Description | Data Type |
---|---|---|
id | Number | |
user_id | Number | |
call_id | Float | |
state | String | |
direction | Number | |
did | Number | |
caller_id | ||
source | Number | |
src_name | ||
destination | ||
destination_name | ||
call_answered_by | ||
multiple_destination_name | ||
multiple_destination_type | ||
queue_answer | Number | |
queue_answer_name | ||
broadcast_id | ||
call_time | Time | |
created_at | Date |
Sample JSON |
---|
[ 0:{ "id":38725 "user_id":291 "call_id":"158XXXXXX2.1XXX6" "state":"Ringing" "direction":1 "did":"4420XXXX0021" "caller_id":"" "source":"005XXX30018" "src_name":NULL "destination":NULL "destination_name":NULL "call_answered_by":NULL "multiple_destination_name":NULL "multiple_destination_type":NULL "queue_answer":0 "queue_answer_name":NULL "broadcast_id":NULL "call_time":"00:00:03" "created_at":"2020-03-31 09:01:42" } ] |