# Download an audiobook (/reference/api/audiobooks/get-audiobook-file)

```json
[
  {
    "method": "GET",
    "path": "/api/v1/documents/{id}/audiobooks/files/{artifactId}",
    "operationId": "getAudiobookFile",
    "tags": [
      "Audiobooks"
    ],
    "summary": "Download an audiobook",
    "description": "Downloads a finished audiobook. Use the `downloadUrl` of the audiobook instead of building this address.",
    "x-required-scope": "documents:read",
    "security": [
      {
        "oauth": [
          "documents:read"
        ]
      },
      {
        "sessionCookie": []
      },
      {
        "secureSessionCookie": []
      }
    ],
    "responses": {
      "200": {
        "description": "File bytes in proxy mode, always sent as an attachment.",
        "content": {
          "*/*": {
            "schema": {
              "type": "string",
              "format": "binary"
            }
          }
        }
      },
      "303": {
        "description": "Follow the short-lived signed storage URL; never persist it.",
        "headers": {
          "Location": {
            "schema": {
              "type": "string",
              "format": "uri"
            }
          }
        }
      },
      "429": {
        "description": "Compute admission or usage is limited.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        },
        "headers": {
          "Retry-After": {
            "description": "Seconds until retry.",
            "schema": {
              "type": "integer",
              "minimum": 1
            }
          }
        }
      },
      "default": {
        "description": "Request failed. Inspect error.code and error.message.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            }
          }
        }
      }
    }
  }
]
```

## Components

```json
{
  "#/components/schemas/Error": {
    "type": "object",
    "properties": {
      "error": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "message": {
            "type": "string"
          },
          "retryAfterMs": {
            "type": "number",
            "minimum": 0
          }
        },
        "required": [
          "code",
          "message"
        ]
      }
    },
    "required": [
      "error"
    ]
  }
}
```