---
title: "Get File Contents"
method: GET
path: "/v1/files/{id}/contents"
tags: ["files"]
---

# Get File Contents

`GET /v1/files/{id}/contents`

## Request

- Base URL: `https://sandboxapi.givechariot.com`
- URL: `https://sandboxapi.givechariot.com/v1/files/{id}/contents`
- Auth: HTTP bearer

Returns a 302 to a temporary, unauthenticated URL, allowing clients to download file contents directly

## Path parameters

- `id` string, required

## Other responses

- `302`: A redirect to a temporary URL that serves the file's bytes.
- `400`: The request is invalid or contains invalid parameters
- `401`: Unauthorized. The request is missing the security (OAuth2 Bearer token) requirements and the server is unable to verify the identify of the caller.
- `403`: Access denied
- `404`: Resource Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/chariot-giving/apis/chariot-api-5.md) - [All operations](https://skmtc.dev/chariot-giving/apis/chariot-api-5/llms.txt) - [OpenAPI document](https://skmtc.dev/chariot-giving/apis/chariot-api-5/revisions/d2a4ff2fdda5?raw)
