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

# Upload File

> Upload a file using a presigned URL

The presigned URL is obtained from the [Create Presigned Url](create-presigned-url) endpoint.

<Note>
  **Important**: The request body contains the raw file content, not a JSON payload. The file data is sent directly as the HTTP request body.
</Note>

<ParamField body="true" type="File" required>
  The raw file content sent as the request body
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X PUT "https://your-presigned-url-here" \
    -H "Content-Type: application/octet-stream" \
    -T your-file.jpg
  ```
</RequestExample>

<ResponseExample>
  ```http theme={null}
  HTTP/1.1 200 OK
  ```
</ResponseExample>
