Tato stránka zatím není v češtině dostupná, proto se zobrazuje v angličtině.
API reference
The QRabl REST API, version 1. The endpoints below come straight from our OpenAPI specification.
The basics
- Base URL. Every endpoint sits under
https://qrabl.eu/api/v1. - Authentication. Send your API key in the
Authorizationheader as a Bearer token:Authorization: Bearer qdl_…. A missing or invalid key gets401. A key without the permission an endpoint needs gets403. - API keys. Workspace owners and admins create keys in the dashboard under Settings → API keys, on the Professional plan and above. Each key belongs to one workspace and carries
read,writeoradminpermission. The full key is shown once, and we store only a hash of it. A workspace can have up to 10 active keys, and you can revoke a key at any time. - Public data. Reading a published passport or a product's recall status needs no key. That data is public by design.
- JSON. Requests and responses are JSON. Passport endpoints return JSON-LD by default. Errors come back as JSON, in the standard shape
{ "error": { "code": "…", "message": "…" } }. - Pagination. List endpoints take
limit(1 to 100, default 20) andoffset. - Rate limits. Each API key may make a set number of requests per minute, by its workspace's plan: Free 60, Starter 300, Professional 1,000, Track & Trace 1,000, Enterprise custom. Keys do not share a count. Every response to a request made with an API key carries
X-RateLimit-Limit,X-RateLimit-RemainingandX-RateLimit-Reset(the Unix time, in seconds, when the current minute ends). Over the limit, the API answers429 Too Many Requestswith aRetry-Afterheader: wait that many seconds, then retry. Some endpoints also have a limit of their own. The reference shows which endpoints can return429. - Versioning. The version is part of the path.
v1is the current version and has no retirement date. If a version is ever retired, its responses carry standardDeprecationandSunsetheaders before it is switched off.
The OpenAPI document
The reference on this page is built from our OpenAPI 3.1 document. Download it as JSON from /api/docs and load it into your API client or code generator.
Test before you go live
Want to try the API with test data first? Sandbox access is available on request, after an NDA. See Sandbox access.
Koncové body
Veřejné koncové body ze specifikace OpenAPI seskupené podle oblasti. Koncové body označené jako ve vývoji jsou součástí API, ale dosud nejsou plně podporovány.
DPPSP9 koncových bodů
- POST
/api/v1/dppsp/handoverStart a bulk handover of the workspace's passports - GET
/api/v1/dppsp/handover/{job_id}Status of a handover job, or a signed link to its files - GET
/api/v1/dppsp/manifestList exportable DPPs - GET
/api/v1/dppsp/export/{id}Export a single DPP as a DPPSP transfer bundle - POST
/api/v1/dppsp/importImport a DPPSP transfer bundle from a peer DPPSP - GET
/api/v1/dppsp/transfers/{transfer_id}Poll the status of a DPPSP transfer - GET
/.well-known/dppdataDPP service-provider metadata - GET
/api/v1/dppsp/backup-statusDPPSP backup status - GET
/api/v1/dppsp/health-probeDPPSP health probe
Products5 koncových bodů
- GET
/api/v1/productsList products - POST
/api/v1/productsCreate a product - GET
/api/v1/products/{id}Get a product - PATCH
/api/v1/products/{id}Update a product - DELETE
/api/v1/products/{id}Delete a product
Labels7 koncových bodů
- GET
/api/v1/labelsList labels - POST
/api/v1/labelsCreate a label - GET
/api/v1/labels/{id}Get a label with analytics - PATCH
/api/v1/labels/{id}Update a label - DELETE
/api/v1/labels/{id}Soft-delete a label - POST
/api/v1/labels/{id}/resolve-conflictResolve an optimistic-lock conflict on a DPP label - POST
/api/v1/labels/{id}/transitionTransition a label's status through the state machine
QR2 koncových bodů
- GET
/api/v1/qrList QR templates or resolve GTIN - POST
/api/v1/verify-qrDFT-based QR code verification
Analytics1 koncový bod
- GET
/api/v1/analyticsGet analytics overview
Integration1 koncový bod
- GET
/api/v1/integrationIntegration URLs and GTIN utilities
Batch3 koncových bodů
- POST
/api/v1/batchBatch create/update products - GET
/api/v1/batch-overridesList batch overrides for a label - POST
/api/v1/batch-overridesCreate or update a batch override
SDK1 koncový bod
- GET
/api/v1/sdk/urlsBulk URL generation
Search1 koncový bod
- GET
/api/v1/searchGlobal search
DPP39 koncových bodů
- GET
/api/v1/dpp/certificateDPP compliance certificate - GET
/api/v1/dpp/{identifier}/recallProduct recall status - GET
/api/v1/dpp/{identifier}Resolve a DPP by UUID or GTIN - GET
/api/v1/dpp/{identifier}/exportExport a DPP as a portable JSON-LD bundle - POST
/api/v1/dpp/{identifier}/verifyVerify DPP authenticity (EN 18223) - POST
/api/v1/dpp/importImport a portable DPP export bundle - GET
/api/v1/conformanceAPI conformance profile - GET
/api/v1/dpp/searchSearch published DPPs - GET
/api/v1/dpp/{identifier}/versionsDPP version history - POST
/api/v1/dpp/{identifier}/deactivateDeactivate a DPP - GET
/api/v1/dpp/{identifier}/eventsList DPP events - POST
/api/v1/dpp/{identifier}/eventsAppend a DPP event - GET
/api/v1/dpp/{identifier}/events/{event_id}/receiptGet signed event receipt - GET
/api/v1/dpp/{identifier}/carbon-footprintGet DPP carbon footprint - POST
/api/v1/dpp/{identifier}/carbon-footprintUpsert DPP carbon footprint - GET
/api/v1/dpp/{identifier}/historyDPP field-level change history - GET
/api/v1/dpp/{identifier}/componentsList DPP component links - POST
/api/v1/dpp/{identifier}/componentsLink a sub-DPP component - DELETE
/api/v1/dpp/{identifier}/components/{childId}Unlink a sub-DPP component - GET
/api/v1/dpp/{identifier}/treeGet DPP component tree - GET
/api/v1/dpp/{identifier}/validateValidate DPP conformance - GET
/api/v1/dpp/{identifier}/flagList DPP flags - POST
/api/v1/dpp/{identifier}/flagSubmit a DPP flag - GET
/api/v1/dpp/passport/{id}Get DPP public passport - GET
/api/v1/dpp/{identifier}/lifecycleGet DPP lifecycle history - POST
/api/v1/dpp/{identifier}/lifecycle/repairRecord a repair event - POST
/api/v1/dpp/{identifier}/lifecycle/refurbishmentRecord a refurbishment event - POST
/api/v1/dpp/{identifier}/lifecycle/end-of-lifeRecord end-of-life routing - GET
/api/v1/dpp/{identifier}/hierarchyGet DPP hierarchy placement - PUT
/api/v1/dpp/{identifier}/hierarchySet DPP hierarchy placement - DELETE
/api/v1/dpp/{identifier}/hierarchyClear DPP hierarchy placement - GET
/api/v1/compliance/installedList installed compliance packs - GET
/api/v1/compliance/packsList available compliance packs - GET
/api/v1/compliance/packs/{slug}Get compliance pack detail - GET
/api/v1/dpps/{id}Get DPP by id (EN 18222 alias) - GET
/api/v1/dppsList DPPs (EN 18222 alias) - GET
/api/v1/dppsByProductId/{productId}Get DPP by product ID (EN 18222 alias) - GET
/api/v1/dppsByProductIdAndDate/{productId}Get DPP by product ID and date (EN 18222 alias) - GET
/api/v1/dppsByProductIdsGet DPPs by product ID list (EN 18222 alias)
GS12 koncových bodů
- GET
/01/{gtin}GS1 Digital Link resolver — GTIN - GET
/01/{gtin}/21/{serial}GS1 Digital Link resolver — GTIN + serial
Short URLs1 koncový bod
- GET
/s/{code}Short URL resolver
EPCIS4 koncových bodů
- POST
/api/v1/epcis/captureEPCIS 2.0 event capture - GET
/api/v1/epcis/queryEPCIS 2.0 SimpleEventQuery - GET
/api/v1/supply-chain/anomaliesList supply-chain anomalies - GET
/api/v1/supply-chain/journey/{productId}Get product journey
Label Access2 koncových bodů
- POST
/api/label-access/requestRequest tiered label access OTP - POST
/api/label-access/verifyVerify OTP and create access session
L5 Schemas6 koncových bodů
- GET
/dpp/schemas/canonical/{version}Canonical DPP JSON Schema - GET
/dpp/shapes/canonical/{version}Canonical DPP SHACL shapes - GET
/dpp/schemas/dppsp-bundle/v1.0DPPSP Multi-DPP transfer bundle JSON Schema (v1.0) - GET
/dpp/shapes/dppsp-bundle/v1.0DPPSP Multi-DPP transfer bundle SHACL shapes (v1.0) - GET
/dpp/schemas/v1/{class}Per-class DPP JSON-LD schema - GET
/dpp/shapes/v1/{class}Per-class DPP SHACL shapes
NFC2 koncových bodů
- GET
/api/v1/nfc/analyticsNFC tag scan analytics - GET
/api/v1/nfc/anomaliesNFC chip UID anomaly alerts
Wallet2 koncových bodů
- POST
/api/v1/auth/wallet-challengeIssue OID4VP challenge - POST
/api/v1/auth/wallet-verifyVerify wallet VP and issue access token
Workspace2 koncových bodů
- GET
/api/v1/workspace/identifiersGet workspace LEI + GLN identifiers - PUT
/api/v1/workspace/identifiersUpdate workspace LEI + GLN identifiers
Scan6 koncových bodů
- POST
/api/v1/scan/pin-requestsSubmit a PIN access request - POST
/api/v1/scan/{serial}/eventRecord a scan event - POST
/api/v1/scan/{serial}/consentRecord supply-chain data-sharing consent - GET
/api/v1/scan/{serial}/traceGet scan event trace - GET
/api/v1/scan/{serial}/verify-integrityVerify scan-event chain integrity - GET
/api/v1/scan-events/verify-chainVerify Merkle chain for a scan-event batch
Audit1 koncový bod
- GET
/api/v1/audit/verify/{exportId}Verify a specific audit export
Partner Marketplace1 koncový bod
- POST
/api/partner-program/packs/{id}/installInstall a partner pack