Docs

List documents

List the operator's documents that are not deleted, published or not, each with its current file, revision, reference count and, while published, its storefront URL. Returns at most the 500 most recently updated documents, most recently updated first. No pagination. This resource exposes only documents whose current file is a validated catalogue PDF; other document files (event attachments and legacy event documents) are managed in the dashboard and return 404 here. Requires media:read. Machine integration bearer credentials only; storefront channel keys never authorize these operations. Buchung-Locale is not used; translations are addressed explicitly. Host enforces a 64 KiB request-body cap before parsing for every method with a body, including DELETE. Per-machine limits: 600 reads/minute, 300 writes/minute; over limit returns 429 rate_limited. Limiter store outage falls back to per-instance memory for reads; writes return 503 service_unavailable with Retry-After: 30.

Early access. Use the API base, channel key and allowed origins supplied by Buchung before running examples. Interactive API requests are disabled here.

GET
/v1/management/documents

List the operator's documents that are not deleted, published or not, each with its current file, revision, reference count and, while published, its storefront URL. Returns at most the 500 most recently updated documents, most recently updated first. No pagination. This resource exposes only documents whose current file is a validated catalogue PDF; other document files (event attachments and legacy event documents) are managed in the dashboard and return 404 here. Requires media:read. Machine integration bearer credentials only; storefront channel keys never authorize these operations. Buchung-Locale is not used; translations are addressed explicitly. Host enforces a 64 KiB request-body cap before parsing for every method with a body, including DELETE. Per-machine limits: 600 reads/minute, 300 writes/minute; over limit returns 429 rate_limited. Limiter store outage falls back to per-instance memory for reads; writes return 503 service_unavailable with Retry-After: 30.

Authorization

integrationBearer
headerAuthorizationBearer <token>

Machine integration credential: Authorization: Bearer bg_it_<32 lowercase hex characters> (^bg_it_[0-9a-f]{32}$). Resolved uncached on each request. Middleware binds the resolved principal once; handlers run under it and never re-derive authority. The request context includes credentialId for per-request logging alongside machineId, operatorId, organizationId and capabilities; the principal is opaque and server-owned. Storefront channel keys never authorize management operations; machine credentials never authorize storefront checkout handoffs. Invalid, expired, revoked, disabled or ungranted credentials return 401 unauthorized.

Response Body

At most the 500 most recently updated documents of the operator that are not deleted, published or not, most recently updated first. No pagination.

application/json
  1. response

At most the 500 most recently updated documents of the operator that are not deleted, published or not, most recently updated first. No pagination.

items*array<>
Itemsitems <= 500
Example Request
curl -X GET 'https://api.buchungapp.com/v1/management/documents'
Example Response
{  "items": [    {      "documentId": "4704590c-004e-410d-adf7-acb7ca0a7052",      "displayName": "string",      "published": true,      "publishedAt": "2019-08-24T14:15:22Z",      "revision": 1,      "file": {        "size": 1,        "validatedAt": "2019-08-24T14:15:22Z"      },      "referenceCount": 0,      "url": "http://example.com"    }  ]}