internal

Create Report Request

Create a new lead list request and enqueue it for background processing.

post/v1/report-requests

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/report-requests
  • Auth: HTTP bearer

Request body

namestring required

Lead list name

localestring

Locale for Excel headers (da or en)

Response

Successful Response

idstring required

Lead list request ID

namestring required

Lead list name

statusstring required

Status: queued, processing, completed, failed

estimated_countinteger nullable

Estimated number of companies

row_countinteger nullable

Actual number of rows in the lead list

cappedboolean nullable

Whether the result was capped at the row limit

download_urlstring nullable

R2 CDN URL for the completed lead list

error_messagestring nullable

Error message if generation failed

created_atstring date-time required

When the lead list was requested

completed_atstring date-time nullable

When the lead list finished

Changes

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