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

const client = new Openregister({
  apiKey: 'My API Key',
});

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

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

Retrieve stored documents for a company

Retrieve stored documents for a company from the Handelsregister. Only use for earlier documents.

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
I