For the complete documentation index, see llms.txt. This page is also available as Markdown.

List Documents

List all of the documents on your account for a company

GET or POST Request

https://v1.api19.com/ra/documents/list

Get a list of all of your documents on your account for a specific company

Argument

Required

Type

company_id

yes

company id

key

yes

your api key

curl https://v1.api19.com/ra/documents/list \
 -d 'company_id=h329fh23r' \
 -d 'key=api_token'
curl https://v1.api19.com/ra/documents/list?company_id=32yg23&key=apikey
NO DOCUMENTS:
{
    "status": "error",
    "error": "No registered agent documents found",
    "verbose": "none"
}

BAD COMPANY:
{
    "status": "error",
    "error": "Cannot locate company",
    "verbose": "none"
}

LIST OF DOCUMENTS:
{
    "status": "ok",
    "document_id": "hwew-2gh23hf32-f32hf2",
    "title": "Subpeona for information",
    "pages": 4,
    "downloaded": "yes"
}

Last updated