Download (Pull)

GET https://public-api.use1.lawgeex.com/document/v1/download/docId

This endpoint allows you to download document by ID. When the document is ready you'll be able to download it. For European accounts you can use https://public-api.euc1.lawgeex.com

Path Parameters

Name
Type
Description

docId

string

LawGeex document ID or external document ID

Headers

Name
Type
Description

x-api-key

string

Authentication Token

{
    "status": "IN_PROGRESS"
}

or

{
    "status": "DONE",
    "documentBinary": "The zipped document content in base64 string"
}

or 

{
    "status": "REJECTED",
    "rejectionReason": "File too large"
}

Response Field

Type

Description

status

string

DONE, IN_PROGRESS or REJECTED.

documentBinary

string

If status is DONE this is the zipped document content in base64 string.

rejection reason

string

If the status is REJECTED, this is the rejection reason.

Last updated