List

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

This endpoint allows you to get the list of all documents. It returns the latest 100 documents (sorted by upload time). If you want to get the next 100 document you can use the query param "from" as described bellow.. For European accounts you can use https://public-api.euc1.lawgeex.com

Query Parameters

Name
Type
Description

from

number

This endpoint returns the latest 100 documents (sorted by upload time). Using "from" you can control from which number. For example: - from = 0 returns latest 100 documents - from = 100 returns the next latest 100 documents

Headers

Name
Type
Description

x-api-key

string

Authentication token

[
   {
      "id": "db3a98e7-b4b3-42c3-8cfb-25ac1abead90",
      "extDocId": "38ca2bb",
      "status": "DONE",
      "fileName": "NDA.docx",
      "uploadedAt": 14876872334,
      "source": "PUBLIC_DOCUMENT_API"
   }
]

Response Field

Type

Description

id

string

Document ID

extDocId

string

External system document ID if provided on upload request

status

string

DONE, IN_PROGRESS or REJECTED

fileName

string

The file name including extension

uploadedAt

number

Upload time (UNIX timestamp)

source

string

Upload source:

EMAIL, LAWGEEX, INTAKE_FORM, PUBLIC_DOCUMENT_API

rejectionReason

string

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

Last updated