Bu makale İngilizce olarak mevcuttur.
Everything you hold with us, in forms that need nothing from us to read. Exports stay available to a frozen organisation, because leaving must always be possible. See the data portability guide.
Personalise the samples. Paste a test key and every snippet uses it — and your own model and passport ids.
/v1/exportExport all data (JSON)
One JSON document: organisation, plants, and every model with its documents (metadata), components, conformity, declarations, batteries, registrations, passports and events.
Responses
- 200OK — The export (abridged).
Errors1
- 401
unauthorizedThe key is missing, unknown or revoked.
curl "https://dppapi-production.up.railway.app/v1/export" \-H "Authorization: Bearer $DPP_API_KEY"{"exportedAt": "2027-06-30T12:00:00.000Z","format": "collecta-dpp-export/1","organisation": { "id": "cm1q7v0aa0000l70f1a2b3c4d", "legalName": "Example Batteries GmbH" },"plants": [],"models": []}/v1/export/archiveExport archive (ZIP)
A ZIP streamed as it is built: export.json, one JSON-LD file per published passport, the document files, QR and label artwork, supplier uploads, mapping templates, audit.jsonl, a README and manifest.json with the size and SHA-256 of every entry.
Responses
- 200OK —
application/zip,Content-Disposition: attachment; filename="collecta-dpp-export-<date>.zip".
Errors1
- 401
unauthorizedThe key is missing, unknown or revoked.
curl "https://dppapi-production.up.railway.app/v1/export/archive" \-H "Authorization: Bearer $DPP_API_KEY"application/zip, Content-Disposition: attachment; filename="collecta-dpp-export-<date>.zip".