Download Call Logs and Call Recordings

1 min. readlast update: 08.26.2024

NOTES:

  • Call recordings are not available for calls older than 30 days
  • For our complete API docs, please visit apidocs.mangovoice.com

Example

Download the call recordings from the last 30 days

  1. Copy your Authorization Key
  2. Send a GET request to https://apiuser.mangovoice.com/api/v1/cdr/{auth_key}/list/daterange/start_date={date}
    • Replace {auth_key} with your Authorization Key
    • Replace {date} with the date 30 days ago in the format YYYY-MM-DD
  3. For each call in that list, send a GET request to https://apiuser.mangovoice.com/api/v1/cdr/{auth_key}/list/call_uuid/{call_uuid}
    • Replace {auth_key} with your Authorization Key
    • Replace {call_uuid} with the call_uuid value from the JSON response
  4. You can curl the temp_recording_url value to download an mp3 file of the call
Was this article helpful?