Create a report run
Changed onCreates a report run. Poll GET /report_runs/{id} or listen for report_run webhooks until status is completed or failed. When completed, download the file from result.url. Report generation may take up to 20 minutes. Data that report runs rely on may be up to 10 minutes out of date. Create requests are rate limited to 1 per second per partner, with a maximum of 20 report runs generating at once.
post/report_runs
Request
- Base URLhttps://sandbox.checkhq.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Idempotency-Keystring
Optional idempotency key. Replays the first response when the same key is reused.
Request body
Response
200
Example response
{
"id": "run_w4wDuqfuSqpMrSXbERrL",
"report": "payroll_journal",
"status": "generating",
"company": "com_MkBYRtUviD6kYO0b85H8"
}Changes
- info
endpoint added
- info