---
title: "Get Agreement File URL"
method: GET
path: "/analyze/v2/agreements/{id}/download"
tags: ["Analyze Agreements"]
---

# Get Agreement File URL

`GET /analyze/v2/agreements/{id}/download`

Retrieve a URL to download the file of a specific agreement in Analyze, with an option to use the original or smart-renamed file.

## Path parameters

- `id` string, required

## Query parameters

- `use_original_name` boolean

## Response `200`

successful with params

- object
  - `data` object, required

## Other responses

- `403` — failure when user does not have an access
- `404` — failure with agreement not found
- `422` — validation failure on value

---

[API](https://skmtc.net/linksquares/apis/linksquares-api.md) · [All operations](https://skmtc.net/linksquares/apis/linksquares-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/linksquares/linksquares-api/revisions/4d597e83cd78/schema)
