Exports
Queue an asynchronous export (CSV/JSONL to S3, row cap 5,000,000)
POST
Queue an asynchronous export (CSV/JSONL to S3, row cap 5,000,000)
Authorizations
FlowPayroll JWT (raw token, no Bearer prefix)
Organisation to scope the request to. Required when the principal can access more than one organisation; optional for single-organisation principals (the authorizer resolves it automatically).
Body
application/json
Exactly one of definitionId (saved) or definition (inline).
Response
Export accepted (status QUEUED)
Available options:
QUEUED, RUNNING, COMPLETED, FAILED Presigned S3 URL, 12-hour expiry; refetch this resource to re-issue