cURL
curl --request GET \ --url https://api.ledger.so/v1/reports/{id} \ --header 'Authorization: Bearer <token>'
{ "ok": true, "data": { "id": "rpt_yza567", "createdAt": "2025-01-31T00:00:00Z", "type": "monthly_statement", "status": "pending", "downloadUrl": "<string>" } }
Retrieves a single report by ID.
API key passed as a Bearer token. Format: ld_<env>_<prefix>_<secret> where <env> is test or live.
ld_<env>_<prefix>_<secret>
<env>
test
live
The report ID (prefixed with rpt_).
rpt_
"rpt_yza567"
The requested report
Indicates the request was successful.
Show child attributes