internal

Create Enrichment

Create a new enrichment job and enqueue the async worker.

Stores in report_requests with source="cvr_list". The worker (generate_custom_report) dispatches on source to build the query.

post/v1/enrichments

Request

  • Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
  • URL: https://api.companydata.dk/v1/enrichments
  • Auth: HTTP bearer

Request body

namestring required

Job name (shown in the dashboard)

cvrsstring[] required

CVR numbers to enrich. Whitespace and duplicates are cleaned server-side.

localestring

Locale for Excel headers (da or en)

Response

Successful Response

idstring required
namestring required
statusstring required

queued, processing, completed, failed

requested_countinteger required

CVRs submitted (after dedup)

matched_countinteger nullable

Filled by worker once matched

row_countinteger nullable
cappedboolean nullable
download_urlstring nullable
error_messagestring nullable
created_atstring date-time required
completed_atstring date-time nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.