Skip to main content
POST
Start a report run

Authorizations

API-Key
string
header
required

Your API key, from More → API & Integrations in the dashboard, or from ht signup / ht auth login.

Body

application/json
request
object

What a report is asked for. A period is either a relative period (resolved against the company's today when the report runs) or fixed days fromDay/untilDay. With neither, last week is used. The period may not be longer than the report's maxDays.

formats
enum<string>[]

Each must be offered by the report; duplicates are dropped.

Maximum array length: 3
Available options:
pdf,
xlsx,
csv,
json

Response

Accepted: the run is queued.

data
object

The payload.

error
null
meta
object