registercheckby openlaw group
API referenceDocuments

Download a document

GET
/documents/{document_id}/content

Redirects to a short-lived download link for the document file. Do not store the redirect target: it expires after 5 minutes. The file is named from its type, register date and id. The response is typed by the file: application/pdf for register extracts, shareholder lists and articles of association, application/xml for structured register data, and the file's own type (image/jpeg, application/rtf) for a scan. Most HTTP clients drop the Authorization header when following a redirect to another host; keep it that way.

Costs 1 credit.

Authorization

bearerAuth
AuthorizationBearer <token>

Your API key, sent as Authorization: Bearer rc_live_….

In: header

Path Parameters

document_id*string

The document's id (doc_…), as a document carries it in id.

Match^doc_[0-7][0-9a-hjkmnp-tv-z]{25}$

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://api.registercheck.de/v1/documents/doc_3cfp79y2gv9gprwftabdp7v3mz/content" \  -H "Authorization: Bearer $REGISTERCHECK_API_KEY"
Empty