📞
API Docs
  • Welcome
  • NUMBERS / ORDERING
    • List Areas
    • List Numbers
    • Order Numbers - No Cart
    • Delete Numbers
    • Change Call Forward
    • Vanity Tollfree - Search
    • Vanity Toll Free - Order
  • Shopping Cart Ordering
    • Add Number to Cart
    • List Numbers in Cart
    • Delete Number from Cart
    • Complete Order Cart
  • MY INVENTORY
    • List My Nmbers
    • List Call Flows
    • Change CallFlow
    • CDR Records
  • SMS/MMS
    • Send SMS
    • Send MMS
    • Receive SMS/MMS
    • Receive Delivery Receipts
  • Campaigns
    • Submit TollFree Campaign
  • CALL APIS
    • Calls
    • Set Incoming URL
    • Incoming Calls
    • Listing Calls
    • Making Calls
      • Example Code
        • Outbound to Tel#
        • Outbound to SIP Device
        • Example Responses
    • Modifying Live Calls
      • Examples
    • Recordings
      • Get List of Recordings
      • Delete a Recording
  • CALL API MARKUP
    • API Call Markup Language
      • Say
      • Dial
        • Number
        • Client
        • SIP
      • Play
      • Gather
      • Record
      • Hangup
      • Pause
      • Reject
      • Redirect
  • LOOKUPS
    • Carrier and CNAM
  • Number Portability
    • Validate Portability
    • Lookup Port Request
    • Submit Port Request
  • FAXING
    • Create Outbound Fax
    • Lookup Outbound Fax Status
    • List Faxes
    • Download File
  • registered agent
    • List Companies
    • List Registered Agents
    • List Documents
    • Download Document
    • Create Company
    • Delete Company
    • Create Registered Agent
    • Modify Registered Agent
Powered by GitBook
On this page
  • Request Parameters
  • Filter using the CallSid parameter.
  1. CALL APIS
  2. Recordings

Get List of Recordings

HTTP GET or POST. The query string parameters allow you to limit the list returned. Note: parameters are case-sensitive

Request Parameters

None of the request parameters are required.

Parameter
Description

Page

The current page number. Zero-indexed, so the first page is 0. 0-20000

PageSize

How many items are on each page 0-2000

StartTime

Only show recordings that were made on this date/time or later EndTime value examples allowed: 2024-04-01T10:10:10 2024-04-01 10:10:10 2024-04-01

EndTime

Only show recordings that were made on this date/time or earlier EndTime value examples allowed: 2024-04-01T10:10:10 2024-04-01 10:10:10 2024-04-01

CallSid

Only show recordings that have been started from this CallSid Value: CallSid=h923fh2h32fj23f2

SortBy

Sort by the date created instead of the most recent on top Value: DateCreated or DateAsc

Filter using the CallSid parameter.

The following example will only return Recordings that have been started from the given CallSid

curl -X POST https://v1.api19.com/call/2012-04-24/Accounts/Call_API_Token/Recordings.json
   -d 'CallSid=CAfe9ce46f104f5beeb10c83a5dad2be66' \
   -d 'StartTime=2024-04-02 00:00:00'
   -d 'EndTime=2024-04-02 10:00:00'
   -d 'SortBy=DateCreated'
   -u 'API_Token:account_sid'

The result will be similar to the one below

{"page":0,"num_pages":0,"page_size":50,"total":17,"start":"0","end":"17","uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json","first_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=0&PageSize=50","previous_page_uri":"null","next_page_uri":"null","last_page_uri":"/call/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings.json?Page=0&PageSize=50","recordings":
    [
        {
            "sid":"RFXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "date_created":"Mon, 6 Jan 2024 08:51:07 +0900",
            "date_updated":"Mon, 6 Jan 2024 08:51:07 +0900",
            "date_standard":"2024-01-06 08:51:07",
            "account_sid":"ACXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "call_sid":"CAXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
            "duration":"14.70275",
            "api_version":"2012-04-24",
            "uri":"/2012-04-24/Accounts/ACae6e420f425248d6a26948c17a9e2acf/Recordings/RE50675909d9c94acda36f0e119b6cb431.json",
            "file_uri":"https://v1.api19.com/call/recordings/RE50675909d9c94acda36f0e119b6cb431.wav"
        },
        ...
    ]
}
PreviousRecordingsNextDelete a Recording

Last updated 8 months ago