registercheckby openlaw group
API referenceTransparency register

Retrieve a file

GET
/files/{file_id}

The metadata of one file of an extract: its type, media type, size, SHA-256 and where to download it. A file belongs to the workspace whose extract holds it; any other id answers 404, as does the id of a file that was deleted (its extract expired or was redacted).

Free.

Authorization

bearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

file_id*string

The file's id.

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

Response Body

application/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/files/file_01k6hb9d3sf4a7c1v9x3z5b8dg" \  -H "Authorization: Bearer $REGISTERCHECK_API_KEY"
{  "id": "file_01k6hb9d3sf4a7c1v9x3z5b8dg",  "object": "file",  "type": "pdf",  "content_type": "application/pdf",  "size": 96210,  "sha256": "0a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f9",  "url": "https://api.registercheck.de/v1/files/file_01k6hb9d3sf4a7c1v9x3z5b8dg/content",  "expires_at": "2026-12-17T10:00:44Z"}