Background
As of 8th Oct 2024, Exotel has changed the Call Recording URL access from public to private and enabled access through any of the following two mechanisms:
Authentication through API Key & API Token
Client IP Whitelisting
What’s New?
We are introducing another mechanism to access Call Recording URLs through the Signed URL approach. It is an account level feature and once enabled will start sending an extra parameter of “PreSignedRecordingUrl” which will contain the Signed Recording URL, in the API response of GET Call Details API and GET Bulk Call Details API. The signed recording URL will have a TTL (time to live) associated with it and allow access to the signed recording URLs for a limited time period. By default, this will be set to 5 minutes at the account level. This value can be modified between 5 minutes to 60 minutes at the time of enabling the feature for a particular account.
How To Modify TTL At Per API Request Level?
In order to give granular control at the API request level, we have introduced a new query parameter in GET Call Details API and GET Bulk Call Details API - “RecordingUrlValidity”
This query parameter accepts an integer value equal to or between 5 and 60, and overrides the account level configuration. For the “PreSignedRecordingUrl” returned in the API response, the TTL will be set to the value passed in the “RecordingUrlValidity” parameter.
How To Enable?
Talk to your Account Director or CXM and get it enabled.
Alternatively, raise a request to hello@exotel.com
Important Note
The RecordingUrl parameter contains the call recording URL which will continue to be accessed only through either Authentication (API Key & API Token) or IP Whitelisting.
The PreSignedRecordingUrlthe parameter contains the same call recording but with a Signed URL, accessible for a time period equivalent to default TTL or the one set in the API request through the parameter PreSignedRecordingUrlValidity.
Additional Resources
- To view the payload of the Call Details API, click here: https://developer.exotel.com/api/make-a-call-api#call-details
For Addtional queries, please reach out to hello@exotel.com.