Get Statement Request
Viewer AccessRetrieves a single statement by ID. Poll this endpoint until the status is completed, then use the download URL to fetch the generated CSV file.
Poll a statement
After requesting a statement with the Generate Statement Request endpoint, poll this endpoint using the returned statement_export_id until status is completed.
While the statement is processing, the response includes a progress object and no download_url:
Once status is completed, the response includes the document_id, file_name, and a pre-signed download_url. The progress object stays present, with processed equal to total:
The download_url is pre-signed and expires 15 minutes after it is generated. Poll this endpoint again to obtain a fresh URL if it expires.
Status values
| Status | Description |
|---|---|
| processing | The statement is still being generated. |
| completed | The statement is ready. Use download_url to fetch the file. |
| cancelled | The statement was cancelled before completion. |
Authorization
AuthorizationRequiredBearer <token>Enter your token in the format: Bearer {token}
In: header
Path Parameters
exportRequestIDRequiredstringThe ID of the statement export.
Response Body
Success response
idRequiredstringUnique identifier of the statement export request.
legal_entity_idRequiredstringThe legal entity that owns the export.
requested_byRequiredstringThe user who requested the export.
export_typeRequiredstringThe export file format. Developer API exports are always CSV.
"CSV"statusRequiredstringCurrent status of the export.
"processing" | "completed" | "cancelled"created_atRequiredstringTimestamp when the export was requested.
date-timeupdated_atRequiredstringTimestamp when the export was last updated.
date-timedocument_idstringThe document ID of the generated file. Present once the export completes.
download_urlstringA short-lived, pre-signed URL to download the generated file. Present once the export completes and expires 15 minutes after it is generated.
file_namestringThe name of the generated file.
progressRequiredobjectGeneration progress. processed reflects live counts while processing and equals total once the export completes.
Generate Statement Request POST
Requests an asynchronous CSV statement for one or more accounts over a date range. The statement is generated in the background. Poll for its status, then download the file using the returned URL.
List Statement Request GET
Lists statements for your legal entity, most recent first. Supports filtering by creation date and cursor-based pagination.