Skip to main content

GET /ledger/v1/:ownerId - list an owner's ledgers

Returns every ledger owned by the given owner as a LedgerList, whose items are Ledger resources.

Path parameters

Name

Type

Notes

ownerId

UUID string

The owner whose ledgers are listed. Must be the owner the token belongs to.

Authentication

  • Send a bearer token: Authorization: Bearer <token>.

  • The token must belong to the ownerId in the path. A token of another owner is rejected with 403 Forbidden.

  • The token must carry the ledger:list scope. A token without it is rejected with 403 Forbidden, whose detail names the missing scope.

Request body - none.

Responses

Status

Body

Meaning

200 OK

LedgerList

All of that owner's ledgers, in items; items is [] when the owner has none. The order of items is not guaranteed; sort client-side (for example by metadata.createdAt) if order matters. The list's own metadata is currently always {}.

400 Bad Request

application/problem+json

A path parameter is not valid, for instance not a valid UUID

401 Unauthorized

application/problem+json

Bearer token is missing, malformed, expired, or revoked

403 Forbidden

application/problem+json

The token belongs to another owner, or lacks the ledger:list scope.

4xx

application/problem+json

Other client errors (see "Errors").

Example (illustrative values)

GET https://ledger.enzuzo.com/ledger/v1/5d2e8c71-9a4b-4f3e-b6d0-1c7a2e9f4b83
Authorization: Bearer <token>
HTTP/1.1 200 OK
{
  "apiVersion": "v1",
  "kind": "LedgerList",
  "items": [
    {
      "apiVersion": "v1",
      "kind": "Ledger",
      "metadata": {
        "name": "Marketing site (EU)",
        "id": "5ae66dc4-2a1a-4c84-b559-c7959100bb24",
        "ownerId": "5d2e8c71-9a4b-4f3e-b6d0-1c7a2e9f4b83",
        "createdAt": "2026-10-15T17:22:05.123Z"
      }
    },
    {
      "apiVersion": "v1",
      "kind": "Ledger",
      "metadata": {
        "name": "",
        "id": "9a391aa4-39d4-4f65-96c9-469c8d821cb0",
        "ownerId": "5d2e8c71-9a4b-4f3e-b6d0-1c7a2e9f4b83",
        "createdAt": "2026-10-16T09:03:41.870Z"
      }
    }
  ],
  "metadata": {}
}
Did this answer your question?