---
title: "Download the latest version of a legal document"
method: GET
path: "/legal-documents/{legal_document_id}/latest/file"
tags: ["legal-documents"]
---

# Download the latest version of a legal document

`GET /legal-documents/{legal_document_id}/latest/file`

Downloads the file for the latest version of a legal document (by effective date). This endpoint redirects to a signed download URL. Clients that cannot follow a redirect can make the request with ?redirect=false and manually open the URL in `download_url` to trigger the download. If you want to open the file inline,add ?inline=true to the request.

## Path parameters

- `legal_document_id` string, required — The ID of the legal document.

## Query parameters

- `redirect` boolean
- `inline` boolean

## Response `200`

OK

- unknown

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/joinsophic/apis/sophic-engine-api.md) · [All operations](https://skmtc.net/joinsophic/apis/sophic-engine-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/joinsophic/sophic-engine-api/revisions/250f4b477cbf/schema)
