GET
/
v0
/
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.retrieve('document_id');

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

Retrieve a stored document

Retrieve a stored document by its ID. All documents are provided as PDF files.

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

200
application/json

Successfully retrieved document information

The response is of type object.