> ## Documentation Index
> Fetch the complete documentation index at: https://docs.turbofiles.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Downloading Files

To download files, you need to request a signed URL first.
Send a `GET` request to:

```
https://api.turbofiles.io/files/{fileId}
```

### Downloading Your File

Once you receive the response, locate the signed URL in `data.links.download`.
Use this URL to download your file by sending a `GET` request.
Anyone with this url can download files. The URL will expire in 1 hour.

<Note>Anyone with this URL can download the file.</Note>

<RequestExample>
  ```http theme={null}
  POST /files/{fileId} HTTP/1.1
  Accept: application/vnd.api+json
  Content-Type: application/vnd.api+json
  ```
</RequestExample>

<ResponseExample>
  ```json {17} theme={null}
  {
    "jsonapi": {
      "version": "1.1"
    },
    "data": {
      "type": "files",
      "id": "8fhd83jpk",
      "attributes": {
        "format": "image/png",
        "size": 504233,
        "created_at": "2023-11-07T05:31:56Z",
        "updated_at": "2023-11-07T05:31:56Z"
      },
      "links": {
        "self": "<string>",
        "upload": "<string>",
        "download": "<string>"
      }
    },
    "links": {
      "self": "<string>"
    }
  }
  ```
</ResponseExample>
