---
title: "Get a document, or the file itself with ?raw=1"
method: GET
path: "/api/v1/contacts/{id}/documents/{docId}"
---

# Get a document, or the file itself with ?raw=1

`GET /api/v1/contacts/{id}/documents/{docId}`

## Request

- Base URL: `https://memchats.com`
- URL: `https://memchats.com/api/v1/contacts/{id}/documents/{docId}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required
- `docId` integer, required

## Query parameters

- `raw` 1

## Response `200`

Document metadata, or the file when raw=1

---

[API](https://skmtc.dev/memchats/apis/memchats-api.md) · [All operations](https://skmtc.dev/memchats/apis/memchats-api/llms.txt) · [OpenAPI document](https://skmtc.dev/memchats/apis/memchats-api/revisions/e62bca06f785?raw)
