REST API v1
REST API Dokumentation
Automatisieren Sie Ihren Batteriepass-Workflow. Produkte per REST API erstellen, aktualisieren, veröffentlichen und exportieren.
Authentifizierung
Scale-Plan erforderlich. Schlüssel in Ihren Organisationseinstellungen erstellen.
Authorization: Bearer dpp_live_...Base URL
120 Anfragen/Minute pro Organisation.
https://app.dpphero.com/api/v1Quick Example
curl -X POST https://app.dpphero.com/api/v1/products \
-H "Authorization: Bearer dpp_live_..." \
-H "Content-Type: application/json" \
-d '{
"name": "LFP Module 48V",
"serial_number": "BAT-2025-001",
"battery_category": "industrial",
"manufacturing_date": "2025-06-15",
"battery_mass": 45.5
}'Verfügbare Endpoints
Alle Endpoints erfordern einen Bearer Token (API-Schlüssel). Verfügbar im Scale-Tarif.
Produkte
GET
/productsPOST
/productsGET
/products/{id}PATCH
/products/{id}DELETE
/products/{id}POST
/products/{id}/imageDELETE
/products/{id}/imagePOST
/products/{id}/filesBatterie-Zustand
Dynamische BMS-Daten wie Ladezustand, Zyklenanzahl und Kapazitätsverlust per API aktualisieren.
GET
/products/{id}/conditionPATCH
/products/{id}/conditionMassen-Import
POST
/products/bulkExport
GET
/products/{id}/export/jsonGET
/products/{id}/export/pdfGET
/products/{id}/export/qrOrganisation
GET
/organizationGET
/facilitiesGET
/audit-logVollständige Dokumentation
Die komplette API-Referenz mit Felddefinitionen, Beispiel-Payloads, Fehlercodes, Auto-Fill-Regeln und dem DIN SPEC 99100 Produkt-Schema steht in Ihrem Dashboard zur Verfügung.