---
title: "Get Agreement Attachment URL"
method: GET
path: "/analyze/v2/agreements/{id}/attachments/{attachment_id}/download"
tags: ["Analyze Attachments"]
---

# Get Agreement Attachment URL

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

## Request

- Base URL: `https://api.linksquares.com/api`
- URL: `https://api.linksquares.com/api/analyze/v2/agreements/{id}/attachments/{attachment_id}/download`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/linksquares/apis/linksquares-api/docs/analyze/v2/agreements/:id/attachments/:attachment_id/download/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieve a URL to download an attachment from an agreement in Analyze.

## Path parameters

- `id` string, required
- `attachment_id` string, required

## Response `200`

successfully returns agreement attachment file url

- object
  - `data` object, required

## Other responses

- `403`: unauthorized user
- `404`: attachment file does not exist

---

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