Create a document download link
Creates a link on files.registercheck.de that serves the document without authentication
for up to 60 minutes and at most 20 counted downloads. Every GET counts as one download,
including continuation requests with a Range header; HEAD does not count.
An Idempotency-Key is not replayed here (the answer carries the link's token): a
repeated request makes a new link, free while the paid one is still live.
Costs 10 credits. Free while a paid link this key made for the same document is live.
Authorization
bearerAuth Your API key, sent as Authorization: Bearer rc_prod_….
In: header
Path Parameters
The document's id (doc_…), as a document carries it in id.
^doc_[0-7][0-9a-hjkmnp-tv-z]{25}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
The request body of a document-link creation; it carries no fields.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://api.registercheck.de/v1/documents/doc_3cfp79y2gv9gprwftabdp7v3mz/links" \ -H "Authorization: Bearer $REGISTERCHECK_API_KEY" \ -H "Content-Type: application/json" \ -d '{}'{ "url": "https://files.registercheck.de/d/Zk3vZk3vZk3vZk3vZk3vZk3vZk3vZk3vZk3vZk3vQ9x", "document_id": "doc_3cfp79y2gv9gprwftabdp7v3mz", "file_name": "shareholder-list-2024-06-01-doc_3cfp79y2gv9gprwftabdp7v3mz.pdf", "media_type": "application/pdf", "expires_at": "2026-11-11T10:00:00Z"}