POST
/
v0
/
jobs
/
document
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.jobs.document.create({
  company_id: 'company_id',
  document_category: 'current_printout',
});

console.log(document.id);
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Create a document job

Retrieve realtime documents for a company from the Handelsregister.

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

200
application/json

Success

The response is of type object.