---
title: "Generate the token to get the document that belongs to the provided underlying agreement id"
method: GET
path: "/v1.0/underlying-agreements/{id}/document"
tags: ["Underlying Agreements"]
---

# Generate the token to get the document that belongs to the provided underlying agreement id

`GET /v1.0/underlying-agreements/{id}/document`

## Path parameters

- `id` integer, required

## Query parameters

- `fileDocumentUuid` string, uuid, required

## Response `200`

OK

- FileToken
  - `token` string
  - `tokenExpirationMinutes` integer

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

## Changes

- **2024-10-21** `a06468704cbe` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/beis/apis/api-documentation/changes/v1.0/underlying-agreements/:id/document/get.md)

---

[API](https://skmtc.dev/beis/apis/api-documentation.md) · [All operations](https://skmtc.dev/beis/apis/api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/beis/api-documentation/revisions/f5f4d893b86b/schema)
