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
Headers
{
"status": "IN_PROGRESS"
}
or
{
"status": "DONE",
"documentBinary": "The zipped document content in base64 string"
}
or
{
"status": "REJECTED",
"rejectionReason": "File too large"
}
{
"message": "Your account has no download permission",
"code": "UNAUTHORIZED_ACCOUNT"
}
{
"message": "Document X does not exist",
"code": "DOCUMENT_NOT_FOUND"
}
{
"message": "Internal Server Error",
"code": "INTERNAL_SERVER_ERROR"
}