links for recording
# support
a
Is it possible to get the links of the recording through API?
v
@Andy@Proxa Yes, absolutely! You can retrieve the links to the recordings through the API. If you have set up your voice application with recording enabled, the URLs of the recordings are typically provided in the call detail records or through a webhook notification, depending on how your application is configured. If you need the URLs for a specific call and have the necessary identifiers, you can make an API request to fetch the recording details. The
recordingUrl
is the link to the mono recording, and the
stereoRecordingUrl
is the link to the stereo recording with two channels. If you require assistance with the API call or need the URLs for a particular call, please provide the call identifier or any other relevant details, and I'd be happy to help you further!
You can continue this conversation by mentioning me in the message.
k
This is helpful info. So it sounds like we must individually request the URLs to download the files for particular calls. Is there a standard format to the download URL so I can swap in a specific call ID number, thus avoiding my having to request each URL manually?
@Vapi This is helpful info. So it sounds like we must individually request the URLs to download the files for particular calls. Is there a standard format to the download URL so I can swap in a specific call ID number, thus avoiding my having to request each URL manually?
v
@Kevin Shepard The format of the download URL for call recordings is typically standardized by the API provider. However, for security and access control reasons, the URLs often include unique tokens or identifiers that are not guessable or interchangeable. If the API you are using does provide a templated URL where you can just swap in a call ID, it would be documented in their API reference. However, this is not common practice due to the reasons mentioned above. To automate the process of fetching recording URLs, you would typically: 1. Use the API to list calls or get details of a specific call, which includes the recording URL. 2. Extract the recording URL from the API response. 3. Download the recording using the URL provided. If you need to automate this process for multiple calls, you would write a script or a program that iterates through the call IDs, makes the API requests, and handles the responses accordingly. If you provide me with the specific details or parameters required for your request, I can guide you on how to make the API call to retrieve the recording URLs.
k
@Vapi I see… so it's not possible to do this outside of making calls with the API?
v
@Kevin Shepard Correct, to ensure security and proper access management, downloading call recordings typically requires making authenticated API calls. This process ensures that only authorized users can access the recordings. Directly accessing recordings without using the API could bypass these important security measures. If you need to download recordings for multiple calls, you would generally: 1. Authenticate with the API using your credentials. 2. Make an API request to retrieve the call details, which include the recording URLs. 3. Use the provided URLs to download the recordings, often requiring an additional API call with proper authentication headers. This process can be automated with a script or a program that handles the API interactions and downloads the files for you. If you need assistance with setting up such an automation or have any other questions, feel free to ask!
s
yes it is possible to get link of recording using api.
do GET
/call/{id}
and then you will get the recordingUrl but there is no direct url to get call recording.
c
no you just put the callID.
a
hi my tickets were not solved and it kept saying they are solved 04852147-a680-46b7-8651-1a95e313d4c5 After the prospect shared the available timeslot, then the AI ended the call akwardly by saying "Goodbye"
the call ended akwardly, would love to have your help @Kevin Shepard @Shubham Bajaj @Chowderr
thanks a lot
c
what was the error? (ended-reason)
I'm not sure...
c
can yo pull the call from the API (also it usually says it there as well)
a
how?
may I know how
c
you are not familiar with API?
may I know if this is correct?
c
it is. Is says the customer ended the call.
s
create a new ticket and ping me.
22 Views