---
title: "Get file content"
method: GET
path: "/api/v1/file/{id}/content"
tags: ["File"]
---

# Get file content

`GET /api/v1/file/{id}/content`

## Request

- Base URL: `https://api.intheloop.io`
- URL: `https://api.intheloop.io/api/v1/file/{id}/content`
- Auth: API key in header `Authorization`

## Path parameters

- `id` string, required

## Headers

- `Authorization` string
- `ETag` string
- `X-Impersonate-User` string

## Response `200`

OK

## Other responses

- `304`: Resource with requested etag was not modified since last request.
- `400`: Bad request. Check fields message and error code from response body for additional information.
- `401`: Unauthorized request. Check fields message and error code from response body for additional information.
- `429`: Too many requests. Check response header Retry-After indicating how long to wait before making a new request.
- `451`: Unavailable because account is not verified.

---

[API](https://skmtc.dev/intheloop/apis/loop-api.md) - [All operations](https://skmtc.dev/intheloop/apis/loop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/intheloop/apis/loop-api/revisions/0892c5ba0787?raw)
