Get Call Log Detail
GET
/call-logs/view/{call_sid}Fetches details of a specific call log by its ID
Request
None
Responses
Success(200)
Not found(404)
Unauthorized(401)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
data
object
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
call_recording
null
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",
"call_recording": null
},
"message": "success"
}
Last modified: 3 months ago