List Call Logs
GET
/call-logs/listRetrieves a list of all call logs.
Request
Query Params
status
string
optional
Example:
no-answer
Responses
Success(200)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
array [object {14}]
required
id
string
required
call_sid
string
required
call_status
string
required
callback_source
string
required
caller
string
required
called
string
required
date
string
required
call_object
string
required
created_at
string
required
name
string
required
email
string
required
lead_id
string
required
lead_type
string
required
color
string
required
page
object
required
current_page
integer
required
from
integer
required
to
integer
required
total
integer
required
per_page
integer
required
last_page
integer
required
next
integer
required
previous
integer
required
message
string
required
Example
{
"data": [
{
"id": "1",
"call_sid": "CA1863e6c8ae14bf84f80ed136c0399eaf",
"call_status": "completed",
"callback_source": "call-progress-events",
"caller": "+15612202747",
"called": "+15614187884",
"date": "Thu, 04 Jan 2024 09:39:21 +0000",
"call_object": "{\"Called\":\"+15614187884\",\"RecordingUrl\":\"https:\\/\\/api.twilio.com\\/2010-04-01\\/Accounts\\/ACe0038f4a1d863edbfba5d76a251ed7ef\\/Recordings\\/REc8d05fb41338d07dfc80a557e311b241\",\"ToState\":\"FL\",\"CallerCountry\":\"US\",\"Direction\":\"outbound-api\",\"Timestamp\":\"Thu, 04 Jan 2024 09:39:21 +0000\",\"CallbackSource\":\"call-progress-events\",\"SipResponseCode\":\"200\",\"CallerState\":\"FL\",\"ToZip\":\"\",\"SequenceNumber\":\"2\",\"CallSid\":\"CAf836af35620aa3892a4f611374b82c51\",\"To\":\"+15614187884\",\"CallerZip\":\"33404\",\"ToCountry\":\"US\",\"CalledZip\":\"\",\"ApiVersion\":\"2010-04-01\",\"RecordingSid\":\"REc8d05fb41338d07dfc80a557e311b241\",\"CalledCity\":\"\",\"CallStatus\":\"completed\",\"Duration\":\"1\",\"From\":\"+15612202747\",\"CallDuration\":\"9\",\"AccountSid\":\"ACe0038f4a1d863edbfba5d76a251ed7ef\",\"CalledCountry\":\"US\",\"CallerCity\":\"WEST PALM BEACH\",\"ToCity\":\"\",\"FromCountry\":\"US\",\"Caller\":\"+15612202747\",\"FromCity\":\"WEST PALM BEACH\",\"CalledState\":\"FL\",\"FromZip\":\"33404\",\"RecordingDuration\":\"9\",\"FromState\":\"FL\",\"call_start_time\":\"2024-01-04 09:39:12\",\"call_end_time\":\"2024-01-04 09:39:21\"}",
"created_at": "2024-01-04 09:39:11",
"name": "rvr",
"email": "[email protected]",
"lead_id": "3",
"lead_type": "Sales",
"color": "#84CC16"
},
{
"id": "1",
"call_sid": "CA1863e6c8ae14bf84f80ed136c0399eaf",
"call_status": "completed",
"callback_source": "call-progress-events",
"caller": "+15612202747",
"called": "+15614187884",
"date": "Thu, 04 Jan 2024 09:39:21 +0000",
"call_object": "{\"Called\":\"+15614187884\",\"RecordingUrl\":\"https:\\/\\/api.twilio.com\\/2010-04-01\\/Accounts\\/ACe0038f4a1d863edbfba5d76a251ed7ef\\/Recordings\\/REc8d05fb41338d07dfc80a557e311b241\",\"ToState\":\"FL\",\"CallerCountry\":\"US\",\"Direction\":\"outbound-api\",\"Timestamp\":\"Thu, 04 Jan 2024 09:39:21 +0000\",\"CallbackSource\":\"call-progress-events\",\"SipResponseCode\":\"200\",\"CallerState\":\"FL\",\"ToZip\":\"\",\"SequenceNumber\":\"2\",\"CallSid\":\"CAf836af35620aa3892a4f611374b82c51\",\"To\":\"+15614187884\",\"CallerZip\":\"33404\",\"ToCountry\":\"US\",\"CalledZip\":\"\",\"ApiVersion\":\"2010-04-01\",\"RecordingSid\":\"REc8d05fb41338d07dfc80a557e311b241\",\"CalledCity\":\"\",\"CallStatus\":\"completed\",\"Duration\":\"1\",\"From\":\"+15612202747\",\"CallDuration\":\"9\",\"AccountSid\":\"ACe0038f4a1d863edbfba5d76a251ed7ef\",\"CalledCountry\":\"US\",\"CallerCity\":\"WEST PALM BEACH\",\"ToCity\":\"\",\"FromCountry\":\"US\",\"Caller\":\"+15612202747\",\"FromCity\":\"WEST PALM BEACH\",\"CalledState\":\"FL\",\"FromZip\":\"33404\",\"RecordingDuration\":\"9\",\"FromState\":\"FL\",\"call_start_time\":\"2024-01-04 09:39:12\",\"call_end_time\":\"2024-01-04 09:39:21\"}",
"created_at": "2024-01-04 09:39:11",
"name": "rvr",
"email": "[email protected]",
"lead_id": "2",
"lead_type": "Sales",
"color": "#84CC16"
}
],
"page": {
"current_page": 1,
"from": 1,
"to": 2,
"total": 2,
"per_page": 5,
"last_page": 0,
"next": -1,
"previous": 0
},
"message": "success"
}
Last modified: 3 months ago