For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
HomeGet API key
DocumentationIntegrationsAPI Reference
DocumentationIntegrationsAPI Reference
  • API Reference
      • GETList Calls
      • POSTCreate Outbound Call
      • POSTCreate Web Call
      • GETGet Call
      • POSTEnd Call
      • GETGet Call Recording
      • GETGet Call Transcript
      • GETStream Call Transcript
      • GETList Calls For Number
LogoLogo
HomeGet API key
API Referencecalls

Get Call Recording

GET
https://api.agentphone.ai/v1/calls/:call_id/recording
GET
/v1/calls/:call_id/recording
1const url = 'https://api.agentphone.ai/v1/calls/call_id/recording';
2const options = {method: 'GET'};
3
4try {
5 const response = await fetch(url, options);
6 const data = await response.json();
7 console.log(data);
8} catch (error) {
9 console.error(error);
10}
Returns the audio file (WAV format) for a completed call. This is a public endpoint -- no authentication is required. The call ID acts as the access token. The `recordingUrl` field in the call response already contains this URL when recording is enabled. Recording must be enabled on your account via `POST /credits/recording/enable` ($5/mo add-on). Returns `404` if the call doesn't exist or has no recording. **Response:** Binary audio file (`audio/wav`), auto-downloads with filename `recording-{call_id}.wav`. **Notes:** - Recording is available shortly after a call completes - Check `recordingAvailable: true` in the call response before fetching - The URL can be shared or embedded directly since it requires no authentication
Was this page helpful?
Previous

Get Call Transcript

Next
Built with

Returns the audio file (WAV format) for a completed call.

This is a public endpoint — no authentication is required. The call ID acts as the access token. The recordingUrl field in the call response already contains this URL when recording is enabled.

Recording must be enabled on your account via POST /credits/recording/enable ($5/mo add-on). Returns 404 if the call doesn’t exist or has no recording.

Response: Binary audio file (audio/wav), auto-downloads with filename recording-{call_id}.wav.

Notes:

  • Recording is available shortly after a call completes
  • Check recordingAvailable: true in the call response before fetching
  • The URL can be shared or embedded directly since it requires no authentication

Path parameters

call_idstringRequired

Response

Successful Response

Errors

422
Unprocessable Entity Error