> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.simz.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.simz.com/_mcp/server.

# Download a call recording

GET https://portal.simz.com/api/partner/v1/calls/{callId}/recording

Authenticated MP3 stream of the call recording. Supports `Range` requests (206 + `Content-Range`) so an interrupted download can be resumed. There are no public or pre-signed links; every download is authenticated, encrypted in transit and recorded in your company's audit trail.

Reference: https://docs.simz.com/api-reference/sim-z-integration-api/call-export/download-recording

## Authentication

- `X-Company-API-Key` header (required) — Company API key with the calls:read scope, created in the SimZ portal under API Access.

## Request

### Path parameters

- `callId` (string, required)

### Headers

- `Range` (string, optional) — Optional byte range, e.g. `bytes=0-1048575`.

## Response

### 200

The full recording.

- File download.

### 206

The requested byte range.

- File download.

## Errors

### 401 Unauthorized Error

Missing, unknown or revoked key (`AUTH_FAILED`), or expired key (`KEY_EXPIRED`).

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

### 403 Forbidden Error

Key lacks the `calls:read` scope (`SCOPE_DENIED`) or the Call Export API is not enabled for the company (`FEATURE_DISABLED`).

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

### 404 Not Found Error

No such call in your company.

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

### 409 Conflict Error

The call exists but has no downloadable recording; `status` and `reason` explain why.

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of RecordingNotAvailableResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)
- `status` (enum, optional) — `available` ready · `processing` call in progress or still being finalised/transcribed · `not_available` never produced (see `reason`) · `failed` processing failed · `expired` past retention (recordings 90 days, transcripts 180 days) · `unavailable` temporary outage.
  - Allowed values: `available`, `processing`, `not_available`, `failed`, `expired`, `unavailable`
- `reason` (string, optional, nullable)

### 416 Range Not Satisfiable Error

Invalid `Range` header.

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

### 429 Too Many Requests Error

Per-key limit exceeded (list 60/min, retrieve 30/min, recording 120/min). Wait `Retry-After` seconds.

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

### 503 Service Unavailable Error

A SimZ dependency is temporarily unavailable; retry with exponential backoff.

- `success` (boolean, optional)
- `error` (string, optional)
- `code` (string, optional) — `VALIDATION_ERROR`, `INVALID_CURSOR`, `AUTH_FAILED`, `KEY_EXPIRED`, `SCOPE_DENIED`, `FEATURE_DISABLED`, `NOT_FOUND`, `RECORDING_NOT_AVAILABLE`, `PAYLOAD_TOO_LARGE`, `RANGE_NOT_SATISFIABLE`, `RATE_LIMITED`, `INTERNAL_ERROR`, `DEPENDENCY_UNAVAILABLE`.
- `details` (list of PartnerErrorResponseDetailsItems, optional) — Present on `VALIDATION_ERROR`.
- `request_id` (string, optional)

## Types

### PartnerErrorResponseDetailsItems

- `field` (string, optional)
- `message` (string, optional)

### RecordingNotAvailableResponseDetailsItems

- `field` (string, optional)
- `message` (string, optional)

## Examples

### Example 1

**SDK Code**

```python
import requests

url = "https://portal.simz.com/api/partner/v1/calls/callId/recording"

headers = {"X-Company-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://portal.simz.com/api/partner/v1/calls/callId/recording';
const options = {method: 'GET', headers: {'X-Company-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://portal.simz.com/api/partner/v1/calls/callId/recording"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Company-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://portal.simz.com/api/partner/v1/calls/callId/recording")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Company-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://portal.simz.com/api/partner/v1/calls/callId/recording")
  .header("X-Company-API-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://portal.simz.com/api/partner/v1/calls/callId/recording', [
  'headers' => [
    'X-Company-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://portal.simz.com/api/partner/v1/calls/callId/recording");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Company-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Company-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://portal.simz.com/api/partner/v1/calls/callId/recording")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```

### Example 2

**SDK Code**

```python
import requests

url = "https://portal.simz.com/api/partner/v1/calls/callId/recording"

headers = {"X-Company-API-Key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://portal.simz.com/api/partner/v1/calls/callId/recording';
const options = {method: 'GET', headers: {'X-Company-API-Key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://portal.simz.com/api/partner/v1/calls/callId/recording"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Company-API-Key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://portal.simz.com/api/partner/v1/calls/callId/recording")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Company-API-Key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://portal.simz.com/api/partner/v1/calls/callId/recording")
  .header("X-Company-API-Key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://portal.simz.com/api/partner/v1/calls/callId/recording', [
  'headers' => [
    'X-Company-API-Key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://portal.simz.com/api/partner/v1/calls/callId/recording");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Company-API-Key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Company-API-Key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://portal.simz.com/api/partner/v1/calls/callId/recording")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```