Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Retrieve Call Logs with Ruby


In this guide, we'll cover how to retrieve information about in progress and completed calls from your Twilio account.

We'll use Twilio's Ruby gem(link takes you to an external page) in these examples to interact with the Twilio REST APIs Calls endpoint.

To get started, we'll need to get our Twilio account credentials.

Retrieve your Twilio account credentials

retrieve-your-twilio-account-credentials page anchor

First, you'll need to get your Twilio account credentials. They consist of your AccountSid and your Auth Token. They can be found on the home page of the console(link takes you to an external page).

Retrieve Your Twilio Credentials.

With our account credentials in hand, we can retrieve Twilio call logs using the Twilio Ruby gem.


Retrieving call logs

retrieving-call-logs page anchor

You can use Twilio's REST API to retrieve logs about the phone calls to and from your Twilio account. If you just want to check a couple logs, however, you should try looking at the voice logs in your Twilio console first.

To list all phone calls for your Twilio account, just call @client.calls.list().

(information)

Info

The list method automatically handles paging for you, eagerly fetching all records and paging under the hood. For more information, visit the Ruby Helper Library(link takes you to an external page) page.

List All Calls Example

list-all-calls-example page anchor
Ruby

_19
# Download the helper library from https://www.twilio.com/docs/ruby/install
_19
require 'rubygems'
_19
require 'twilio-ruby'
_19
_19
# Find your Account SID and Auth Token at twilio.com/console
_19
# and set the environment variables. See http://twil.io/secure
_19
account_sid = ENV['TWILIO_ACCOUNT_SID']
_19
auth_token = ENV['TWILIO_AUTH_TOKEN']
_19
@client = Twilio::REST::Client.new(account_sid, auth_token)
_19
_19
calls = @client
_19
.api
_19
.v2010
_19
.calls
_19
.list(limit: 20)
_19
_19
calls.each do |record|
_19
puts record.sid
_19
end

Output

_90
{
_90
"calls": [
_90
{
_90
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"annotation": "billingreferencetag1",
_90
"answered_by": "machine_start",
_90
"api_version": "2010-04-01",
_90
"caller_name": "callerid1",
_90
"date_created": "Fri, 18 Oct 2019 17:00:00 +0000",
_90
"date_updated": "Fri, 18 Oct 2019 17:01:00 +0000",
_90
"direction": "outbound-api",
_90
"duration": "4",
_90
"end_time": "Fri, 18 Oct 2019 17:03:00 +0000",
_90
"forwarded_from": "calledvia1",
_90
"from": "+13051416799",
_90
"from_formatted": "(305) 141-6799",
_90
"group_sid": "GPdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"parent_call_sid": "CAdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"phone_number_sid": "PNdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"price": "-0.200",
_90
"price_unit": "USD",
_90
"sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"start_time": "Fri, 18 Oct 2019 17:02:00 +0000",
_90
"status": "completed",
_90
"subresource_uris": {
_90
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
_90
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
_90
"payments": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payments.json",
_90
"events": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events.json",
_90
"siprec": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Siprec.json",
_90
"streams": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Streams.json",
_90
"transcriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions.json",
_90
"user_defined_message_subscriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessageSubscriptions.json",
_90
"user_defined_messages": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessages.json"
_90
},
_90
"to": "+13051913581",
_90
"to_formatted": "(305) 191-3581",
_90
"trunk_sid": "TKdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
_90
"queue_time": "1000"
_90
},
_90
{
_90
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"annotation": "billingreferencetag2",
_90
"answered_by": "human",
_90
"api_version": "2010-04-01",
_90
"caller_name": "callerid2",
_90
"date_created": "Fri, 18 Oct 2019 16:00:00 +0000",
_90
"date_updated": "Fri, 18 Oct 2019 16:01:00 +0000",
_90
"direction": "inbound",
_90
"duration": "3",
_90
"end_time": "Fri, 18 Oct 2019 16:03:00 +0000",
_90
"forwarded_from": "calledvia2",
_90
"from": "+13051416798",
_90
"from_formatted": "(305) 141-6798",
_90
"group_sid": "GPdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"parent_call_sid": "CAdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"phone_number_sid": "PNdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"price": "-0.100",
_90
"price_unit": "JPY",
_90
"sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0",
_90
"start_time": "Fri, 18 Oct 2019 16:02:00 +0000",
_90
"status": "completed",
_90
"subresource_uris": {
_90
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Notifications.json",
_90
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Recordings.json",
_90
"payments": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Payments.json",
_90
"events": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Events.json",
_90
"siprec": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Siprec.json",
_90
"streams": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Streams.json",
_90
"transcriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Transcriptions.json",
_90
"user_defined_message_subscriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/UserDefinedMessageSubscriptions.json",
_90
"user_defined_messages": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/UserDefinedMessages.json"
_90
},
_90
"to": "+13051913580",
_90
"to_formatted": "(305) 191-3580",
_90
"trunk_sid": "TKdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0.json",
_90
"queue_time": "1000"
_90
}
_90
],
_90
"end": 1,
_90
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=0",
_90
"next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=1&PageToken=PACAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0",
_90
"page": 0,
_90
"page_size": 2,
_90
"previous_page_uri": null,
_90
"start": 0,
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=0"
_90
}

You can also filter the results. This example only returns phone calls to the phone number "+15558675309" which had a call status of "busy" but you can filter on other call properties as well.

Retrieve Busy Calls To Specific Number Example

retrieve-busy-calls-to-specific-number-example page anchor
Ruby

_23
# Download the helper library from https://www.twilio.com/docs/ruby/install
_23
require 'rubygems'
_23
require 'twilio-ruby'
_23
_23
# Find your Account SID and Auth Token at twilio.com/console
_23
# and set the environment variables. See http://twil.io/secure
_23
account_sid = ENV['TWILIO_ACCOUNT_SID']
_23
auth_token = ENV['TWILIO_AUTH_TOKEN']
_23
@client = Twilio::REST::Client.new(account_sid, auth_token)
_23
_23
calls = @client
_23
.api
_23
.v2010
_23
.calls
_23
.list(
_23
to: '+15558675310',
_23
status: 'busy',
_23
limit: 20
_23
)
_23
_23
calls.each do |record|
_23
puts record.sid
_23
end

Output

_90
{
_90
"calls": [
_90
{
_90
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"annotation": "billingreferencetag1",
_90
"answered_by": "machine_start",
_90
"api_version": "2010-04-01",
_90
"caller_name": "callerid1",
_90
"date_created": "Fri, 18 Oct 2019 17:00:00 +0000",
_90
"date_updated": "Fri, 18 Oct 2019 17:01:00 +0000",
_90
"direction": "outbound-api",
_90
"duration": "4",
_90
"end_time": "Fri, 18 Oct 2019 17:03:00 +0000",
_90
"forwarded_from": "calledvia1",
_90
"from": "+13051416799",
_90
"from_formatted": "(305) 141-6799",
_90
"group_sid": "GPdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"parent_call_sid": "CAdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"phone_number_sid": "PNdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"price": "-0.200",
_90
"price_unit": "USD",
_90
"sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"start_time": "Fri, 18 Oct 2019 17:02:00 +0000",
_90
"status": "completed",
_90
"subresource_uris": {
_90
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
_90
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
_90
"payments": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payments.json",
_90
"events": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events.json",
_90
"siprec": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Siprec.json",
_90
"streams": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Streams.json",
_90
"transcriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions.json",
_90
"user_defined_message_subscriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessageSubscriptions.json",
_90
"user_defined_messages": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessages.json"
_90
},
_90
"to": "+13051913581",
_90
"to_formatted": "(305) 191-3581",
_90
"trunk_sid": "TKdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
_90
"queue_time": "1000"
_90
},
_90
{
_90
"account_sid": "ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
_90
"annotation": "billingreferencetag2",
_90
"answered_by": "human",
_90
"api_version": "2010-04-01",
_90
"caller_name": "callerid2",
_90
"date_created": "Fri, 18 Oct 2019 16:00:00 +0000",
_90
"date_updated": "Fri, 18 Oct 2019 16:01:00 +0000",
_90
"direction": "inbound",
_90
"duration": "3",
_90
"end_time": "Fri, 18 Oct 2019 16:03:00 +0000",
_90
"forwarded_from": "calledvia2",
_90
"from": "+13051416798",
_90
"from_formatted": "(305) 141-6798",
_90
"group_sid": "GPdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"parent_call_sid": "CAdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"phone_number_sid": "PNdeadbeefdeadbeefdeadbeefdeadbeee",
_90
"price": "-0.100",
_90
"price_unit": "JPY",
_90
"sid": "CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0",
_90
"start_time": "Fri, 18 Oct 2019 16:02:00 +0000",
_90
"status": "completed",
_90
"subresource_uris": {
_90
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Notifications.json",
_90
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Recordings.json",
_90
"payments": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Payments.json",
_90
"events": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Events.json",
_90
"siprec": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Siprec.json",
_90
"streams": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Streams.json",
_90
"transcriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/Transcriptions.json",
_90
"user_defined_message_subscriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/UserDefinedMessageSubscriptions.json",
_90
"user_defined_messages": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0/UserDefinedMessages.json"
_90
},
_90
"to": "+13051913580",
_90
"to_formatted": "(305) 191-3580",
_90
"trunk_sid": "TKdeadbeefdeadbeefdeadbeefdeadbeef",
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0.json",
_90
"queue_time": "1000"
_90
}
_90
],
_90
"end": 1,
_90
"first_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=0",
_90
"next_page_uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=1&PageToken=PACAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0",
_90
"page": 0,
_90
"page_size": 2,
_90
"previous_page_uri": null,
_90
"start": 0,
_90
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls.json?Status=completed&To=%2B123456789&From=%2B987654321&StartTime=2008-01-02&ParentCallSid=CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&EndTime=2009-01-02&PageSize=2&Page=0"
_90
}

Finally, if you just want to retrieve information about a specific call you can get that CallSid directly.

Retrieve Call By Id Example

retrieve-call-by-id-example page anchor
Ruby

_17
# Download the helper library from https://www.twilio.com/docs/ruby/install
_17
require 'rubygems'
_17
require 'twilio-ruby'
_17
_17
# Find your Account SID and Auth Token at twilio.com/console
_17
# and set the environment variables. See http://twil.io/secure
_17
account_sid = ENV['TWILIO_ACCOUNT_SID']
_17
auth_token = ENV['TWILIO_AUTH_TOKEN']
_17
@client = Twilio::REST::Client.new(account_sid, auth_token)
_17
_17
call = @client
_17
.api
_17
.v2010
_17
.calls('CA42ed11f93dc08b952027ffbc406d0868')
_17
.fetch
_17
_17
puts call.to

Output

_39
{
_39
"account_sid": "ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
_39
"annotation": "billingreferencetag",
_39
"answered_by": "machine_start",
_39
"api_version": "2010-04-01",
_39
"caller_name": "callerid",
_39
"date_created": "Fri, 18 Oct 2019 17:00:00 +0000",
_39
"date_updated": "Fri, 18 Oct 2019 17:01:00 +0000",
_39
"direction": "outbound-api",
_39
"duration": "4",
_39
"end_time": "Fri, 18 Oct 2019 17:03:00 +0000",
_39
"forwarded_from": "calledvia",
_39
"from": "+13051416799",
_39
"from_formatted": "(305) 141-6799",
_39
"group_sid": "GPdeadbeefdeadbeefdeadbeefdeadbeef",
_39
"parent_call_sid": "CAdeadbeefdeadbeefdeadbeefdeadbeef",
_39
"phone_number_sid": "PNdeadbeefdeadbeefdeadbeefdeadbeef",
_39
"price": "-0.200",
_39
"price_unit": "USD",
_39
"sid": "CA42ed11f93dc08b952027ffbc406d0868",
_39
"start_time": "Fri, 18 Oct 2019 17:02:00 +0000",
_39
"status": "completed",
_39
"subresource_uris": {
_39
"notifications": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Notifications.json",
_39
"recordings": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Recordings.json",
_39
"payments": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Payments.json",
_39
"events": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Events.json",
_39
"siprec": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Siprec.json",
_39
"streams": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Streams.json",
_39
"transcriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Transcriptions.json",
_39
"user_defined_message_subscriptions": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessageSubscriptions.json",
_39
"user_defined_messages": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/UserDefinedMessages.json"
_39
},
_39
"to": "+13051913581",
_39
"to_formatted": "(305) 191-3581",
_39
"trunk_sid": "TKdeadbeefdeadbeefdeadbeefdeadbeef",
_39
"uri": "/2010-04-01/Accounts/ACaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/Calls/CAaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.json",
_39
"queue_time": "1000"
_39
}


We learned how to retrieve Twilio call logs using Ruby. Check out our tutorials to see full implementations of Twilio Voice in Ruby with Sinatra and Rails.


Rate this page: