Skip to main content
GET
/
v1
/
document
/
{document_id}
JavaScript
import Openregister from 'openregister';

const client = new Openregister({
  apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted
});

const document = await client.document.getCachedV1('document_id');

console.log(document.id);
{
  "id": "<string>",
  "name": "<string>",
  "date": "<string>",
  "url": "<string>",
  "type": "articles_of_association"
}

Retrieve stored documents for a company

Access documents that have been previously retrieved and stored in our database. This endpoint is faster and more cost-effective for accessing historical documents or documents that have already been fetched. For the most current documents, use the realtime document endpoint instead. Cost: 10 credits

Authorizations

Authorization
string
header
required

API Key Authentication Provide your API key as a Bearer token in the Authorization header.

Path Parameters

document_id
string
required

Unique document identifier. Example: a6daa905-a87e-451c-9df6-35051eec8b61

Response

Successfully retrieved document information

id
string
required

The unique identifier for the document. E.g. "f47ac10b-58cc-4372-a567-0e02b2c3d479"

name
string
required

The name of the document. E.g. "Musterprotokoll vom 01.01.2022"

date
string
required

The date of the document. E.g. "2022-01-01"

url
string<uri>
required

The URL of the document. It can be downloaded from there. Only valid for 15 minutes after the request.

type
enum<string>
required

The type of document.

Available options:
articles_of_association,
sample_protocol,
shareholder_list