Exports
Get an export job (scope: exports:read)
GET
bearerAuthheader
AuthorizationBearer <token>API key as Bearer token
id*stringOK
application/json- response
data*An export job. The file itself is never part of this object; fetch it through GET /exports/{id}/download while expires_at is in the future.
error*nullcurl -X GET "https://example.com/exports/string"{ "data": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "entity": "invoices_issued", "format": "string", "status": "running", "row_count": 0, "filename": "string", "content_type": "string", "byte_size": 0, "sha256": "string", "expires_at": "2019-08-24T14:15:22Z", "error": "string", "created_at": "2019-08-24T14:15:22Z", "finished_at": "2019-08-24T14:15:22Z" }, "error": null}Download an export. Stored files: 200 JSON {url, expires_at, filename, sha256} with a short-lived signed URL. Legacy files (and deployments without object storage): 200 with the raw bytes and Content-Disposition: attachment. 409 while running or when the job failed; 410 once the file expired (the sha256 stays in error.details). (scope: exports:read) GET
Previous Page
List export jobs, newest first (scope: exports:read) GET
Next Page