/v1 contract for Report Automation Tool. The workspace API key and /v1 resources are not recorded as shipped.
1
Obtain a workspace API key
Request a key and your API base URL from your administrator.
2
Create a report job
Call POST /v1/report-jobs with portal details, one device, a UTC date range and recipients. Send a fresh Idempotency-Key for each intended job. The contract returns 202 Accepted and a Location header identifying the job.
3
Poll the job
Call
GET /v1/report-jobs/{jobId} every five seconds until succeeded, failed or cancelled. Honor Retry-After when supplied.4
Download the PDF
Use reportId with
GET /v1/reports/{reportId}/download. The response contains PDF bytes. Initial generation also sends the report by email.