Skip to main content
GET
/
legal-documents
/
{legal_document_id}
/
versions
/
{version_id}
/
file
Download a legal document version
curl --request GET \
  --url https://api.engine.usesophic.com/legal-documents/{legal_document_id}/versions/{version_id}/file \
  --header 'Authorization: Bearer <token>'
{
  "detail": "<string>",
  "code": "<string>",
  "docs": "<string>",
  "context": {},
  "params": [
    {
      "path": [
        123
      ],
      "detail": "<string>",
      "code": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

The ID of the legal document.

version_id
string
required

The ID of the version to download.

Query Parameters

redirect
boolean
default:true
inline
boolean
default:false

Response

OK