Zadix mit jedem Tool verbinden

Zadix stellt eine scopierte REST API und ein ausgehendes Webhook-System bereit. Nutzen Sie API-Schlüssel für Server-zu-Server-Abfragen und Schreibvorgänge aus ERPs, Zapier oder eigenen Skripten. Nutzen Sie Webhooks für Echtzeit-Push-Benachrichtigungen, wenn Serviceereignisse ihren Lebenszyklus durchlaufen — kein Polling nötig.

Zwei Verbindungswege

Beide werden über die Integrationsseite in der Dashboard-Seitenleiste konfiguriert. Nur Unternehmensinhaber und Admins können Integrationen erstellen und verwalten.

API Keys

Authentifizieren Sie Server-zu-Server-Anfragen mit einem langlebigen, scopierten Bearer-Token. Daten abrufen, Datensätze erstellen und Konformitätsstatus programmgesteuert abfragen.

ERP- & Buchhaltungssoftware
Zapier / Make Automatisierungen
Benutzerdefinierte Reporting-Skripte
Mobile Apps und Portale

Webhooks

Registrieren Sie HTTPS-Endpunkte, die JSON-Payloads erhalten, wenn ein Serviceereignis seinen Status ändert. Signaturen schützen vor gefälschten Zustellungen.

Workflows bei Finalisierung auslösen
Mit Drittanbieter-Datenbanken synchronisieren
Benachrichtigungen bei neuen Ereignissen senden
Audit-Log-Replikation
https://api.zadixflow.com
Nur für Menschen bestimmte Aktionen. Das Finalisieren von Serviceereignissen, das Lösen von Konformitätsmeldungen und das Archivieren von Datensätzen sind vom API-Schlüsselzugriff ausgeschlossen. Dies sind rechtlich bedeutsame Aktionen, die von einem authentifizierten Menschen im Dashboard oder in der mobilen App ausgeführt werden müssen.

guide_integrations_content.auth_title

guide_integrations_content.auth_intro

Step 1
guide_integrations_content.auth_step1
guide_integrations_content.auth_step1_desc
↓
Step 2
guide_integrations_content.auth_step2
guide_integrations_content.auth_step2_desc
↓
Step 3
guide_integrations_content.auth_step3
guide_integrations_content.auth_step3_desc
Authorization: Bearer zfx_live_your_key_here

A missing or invalid key returns 401 Unauthorized. A valid key requesting an endpoint outside its scopes returns 403 Forbidden with a message identifying the missing scope.

{
  "data": null,
  "meta": { "requestId": "req_7mKpQ3" },
  "errors": [{ "code": "UNAUTHORIZED", "message": "Invalid or revoked API key" }]
}

guide_integrations_content.api_keys_title

guide_integrations_content.api_keys_intro

app.zadixflow.com/integrations
API-Schlüssel
Webhooks
NameSchlüssel-PräfixBerechtigungenZuletzt verwendetLäuft ab
Zapier Sync
● Aktiv
zfx_live_wK2m...
service_events:readequipment:read
2 minutes agoNever
ERP Import
● Aktiv
zfx_live_bP7r...
service_events:writeequipment:writejobs:write
1 hour ago2027-01-01
Analytics
● Aktiv
zfx_live_qR9n...
compliance:readreports:read
3 days agoNever
Legacy script
○ Widerrufen
zfx_live_aX1k...
service_events:read
Never——
1
guide_integrations_content.api_keys_step1
guide_integrations_content.api_keys_step1_desc
2
guide_integrations_content.api_keys_step2
guide_integrations_content.api_keys_step2_desc
3
guide_integrations_content.api_keys_step3
guide_integrations_content.api_keys_step3_desc
4
guide_integrations_content.api_keys_step4
guide_integrations_content.api_keys_step4_desc
guide_integrations_content.api_keys_callout guide_integrations_content.api_keys_callout_desc

guide_integrations_content.scopes_title

guide_integrations_content.scopes_intro

readservice_events:read

List and retrieve service events, audit logs

writeservice_events:write

Create, update, and confirm service events

readequipment:read

List and retrieve equipment assets, history, compliance status

writeequipment:write

Create and update equipment assets

readjobs:read

List and retrieve field jobs

writejobs:write

Create, update, and complete jobs

readcompliance:read

Compliance dashboard, flags, overdue equipment, active rules

readreports:read

Generate and download PDF exports, annual reports, refrigerant balance

Finalization is human-only. POST /service-events/:id/finalize is intentionally excluded from API key access. Finalization is a legally significant act under EU 2024/573 and must be performed by an authenticated human.

guide_integrations_content.requests_title

guide_integrations_content.requests_intro

curl https://api.zadixflow.com/service-events \
  -H "Authorization: Bearer zfx_live_your_key_here" \
  -H "Accept: application/json"
import axios from 'axios'

const api = axios.create({
  baseURL: 'https://api.zadixflow.com',
  headers: { Authorization: `Bearer ${process.env.ZADIX_API_KEY}` },
})

const { data } = await api.get('/service-events', {
  params: { page: 1, limit: 20, status: 'validated' },
})

console.log(data.data)  // array of service events
console.log(data.meta)  // { page, limit, total, requestId }
{
  "data": { ... },         // null on error; object or array on success
  "meta": {
    "page": 1,             // present on paginated responses
    "limit": 20,
    "total": 143,
    "requestId": "req_7mKpQ3"
  },
  "errors": []             // non-empty array on failure
}

guide_integrations_content.errors_title

guide_integrations_content.errors_intro

StatusNameWhen it occurs
400Bad RequestMalformed JSON or invalid field values in the request body
401UnauthorizedMissing, invalid, or revoked API key
403ForbiddenValid key but insufficient scope for this endpoint
404Not FoundResource does not exist or belongs to a different company
422Unprocessable EntityValidation failed — response includes per-field error details
429Too Many RequestsRate limit exceeded — back off and retry after 60 seconds
500Internal Server ErrorUnexpected server error — contact support with the requestId
{
  "data": null,
  "meta": { "requestId": "req_xPq2R1" },
  "errors": [
    { "code": "VALIDATION_ERROR", "field": "refrigerant_type", "message": "refrigerant_type is required" },
    { "code": "VALIDATION_ERROR", "field": "quantity_added_kg", "message": "must be a positive number" }
  ]
}

guide_integrations_content.pagination_title

guide_integrations_content.pagination_intro

ParameterTypeDefaultDescription
pageinteger1Page number, 1-indexed
limitinteger20Items per page. Maximum: 100
curl "https://api.zadixflow.com/service-events?page=2&limit=50" \
  -H "Authorization: Bearer zfx_live_your_key_here"
{
  "data": [ ... ],
  "meta": {
    "page": 2,
    "limit": 50,
    "total": 143,         // total items across all pages
    "requestId": "req_5nXpA7"
  },
  "errors": []
}
// total pages = Math.ceil(143 / 50) = 3

guide_integrations_content.rate_limits_title

guide_integrations_content.rate_limits_intro

LimitWindowScope
20 requests60 secondsPer API key
{
  "data": null,
  "meta": { "requestId": "req_aB3cD4" },
  "errors": [{ "code": "RATE_LIMITED", "message": "Too many requests. Retry after 60 seconds." }]
}
Backoff strategy. On a 429, wait at least 60 seconds before retrying. For sustained high volume, batch your writes — a single POST /service-events with a complete payload is more efficient than multiple sequential PATCH calls.

guide_integrations_content.se_title

guide_integrations_content.se_intro

GET/service-eventsList service events (paginated, filterable)service_events:read
POST/service-eventsCreate a new service eventservice_events:write
GET/service-events/:idGet a single service event with full detailservice_events:read
PATCH/service-events/:idUpdate fields on a draft or confirmed eventservice_events:write
POST/service-events/:id/confirmMark AI-extracted data as confirmedservice_events:write

Serviceereignisse auflisten

curl "https://api.zadixflow.com/service-events?page=1&limit=20&status=validated" \
  -H "Authorization: Bearer zfx_live_your_key_here"
{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "lifecycle_status": "validated",
      "compliance_status": "valid",
      "action_type": "refill",
      "refrigerant_type": "R-410A",
      "quantity_added_kg": 1.5,
      "event_timestamp": "2026-04-03T14:23:00.000Z",
      "equipment_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "technician_id": "c3d4e5f6-a7b8-9012-cdef-012345678902",
      "job_id": "d4e5f6a7-b8c9-0123-defa-012345678903",
      "company_id": "e5f6a7b8-c9d0-1234-efab-012345678904",
      "created_at": "2026-04-03T14:20:00.000Z"
    }
  ],
  "meta": { "page": 1, "limit": 20, "total": 143, "requestId": "req_7mKpQ3" },
  "errors": []
}

Ein Serviceereignis erstellen

curl -X POST https://api.zadixflow.com/service-events \
  -H "Authorization: Bearer zfx_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "job_id": "d4e5f6a7-b8c9-0123-defa-012345678903",
    "equipment_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "action_type": "refill",
    "refrigerant_type": "R-410A",
    "quantity_added_kg": 1.5,
    "refrigerant_source": "virgin",
    "technician_fgas_cert": "EU-IT-2024-00789",
    "event_timestamp": "2026-04-03T14:23:00.000Z"
  }'

Abfragefilter für GET /service-events

FilterAccepted valuesExample
statusdraft · ai_extracted · confirmed · validated · finalized?status=finalized
compliance_statusvalid · incomplete · risky · non_compliant?compliance_status=non_compliant
action_typerefill · recovery · leak_check · installation · decommission?action_type=refill
equipment_idUUID?equipment_id=b2c3d4e5-...
technician_idUUID?technician_id=c3d4e5f6-...
date_from / date_toISO 8601 date?date_from=2026-01-01

guide_integrations_content.eq_title

guide_integrations_content.eq_intro

GET/equipmentList all equipment assetsequipment:read
POST/equipmentRegister a new equipment assetequipment:write
GET/equipment/:idGet equipment with full compliance historyequipment:read
PATCH/equipment/:idUpdate equipment detailsequipment:write
curl https://api.zadixflow.com/equipment/b2c3d4e5-f6a7-8901-bcde-f12345678901 \
  -H "Authorization: Bearer zfx_live_your_key_here"
{
  "data": {
    "id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "name": "Rooftop Unit #3",
    "serial_number": "RTU-2024-0033",
    "refrigerant_type": "R-410A",
    "refrigerant_capacity_kg": 12.5,
    "gwp": 2088,
    "co2_equivalent_tonnes": 26.1,
    "location": "Building A, Roof",
    "compliance_status": "valid",
    "next_leak_check_due": "2026-10-01",
    "installation_date": "2024-03-15",
    "company_id": "e5f6a7b8-c9d0-1234-efab-012345678904"
  },
  "meta": { "requestId": "req_bC4dE5" },
  "errors": []
}
next_leak_check_due is computed automatically. Zadix calculates this date based on co2_equivalent_tonnes and the date of the last leak check service event. Equipment above 500 t CO₂e requires a check every 3 months; 50–500 t every 6 months; 5–50 t every 12 months.

guide_integrations_content.jobs_title

guide_integrations_content.jobs_intro

GET/jobsList all jobsjobs:read
POST/jobsCreate a new jobjobs:write
GET/jobs/:idGet job with linked technicians and equipmentjobs:read
PATCH/jobs/:idUpdate job details or statusjobs:write
curl -X POST https://api.zadixflow.com/jobs \
  -H "Authorization: Bearer zfx_live_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Quarterly maintenance — Building A",
    "scheduled_date": "2026-04-10",
    "technician_ids": ["c3d4e5f6-a7b8-9012-cdef-012345678902"],
    "equipment_ids": [
      "b2c3d4e5-f6a7-8901-bcde-f12345678901",
      "c3d4e5f6-a7b8-9012-cdef-012345678902"
    ]
  }'

guide_integrations_content.compliance_title

guide_integrations_content.compliance_intro

GET/compliance/dashboardSummary stats: flag counts, compliance rate, risk scorecompliance:read
GET/compliance/overdueEquipment with overdue leak checks (paginated)compliance:read
GET/compliance/flagsActive compliance violation flags (paginated)compliance:read
GET/compliance/rulesConfigured F-Gas checks and their severitycompliance:read
{
  "data": {
    "total_events": 247,
    "flagged_events": 4,
    "compliance_rate": 0.984,
    "overdue_equipment_count": 2,
    "open_flags": { "error": 1, "warning": 3 },
    "risk_score": "low"
  },
  "meta": { "requestId": "req_cD5eF6" },
  "errors": []
}
Read-only via API. Resolving flags, triggering leak-check job generation, and generating compliance packs require human action in the dashboard. These operations carry legal weight under EU 2024/573.

guide_integrations_content.reports_title

guide_integrations_content.reports_intro

POST/reports/service-events/:id/generateTrigger async PDF report generationreports:read
GET/reports/service-events/:id/exportsList all generated PDF exports for an eventreports:read
GET/reports/exports/:pdfId/downloadGet a pre-signed S3 URL (1 hour) to download the PDFreports:read
Step 1
Trigger generation
POST /reports/service-events/:id/generate — starts async PDF build
↓
Step 2
Poll for status
GET /reports/service-events/:id/exports — check until status is "ready"
↓
Step 3
Download PDF
GET /reports/exports/:pdfId/download — returns a 1-hour pre-signed S3 URL
{
  "data": {
    "download_url": "https://s3.eu-west-1.amazonaws.com/zadix-reports/...",
    "expires_at": "2026-04-03T15:23:00.000Z",
    "filename": "service-event-a1b2c3d4-report.pdf",
    "generated_at": "2026-04-03T14:21:30.000Z"
  },
  "meta": { "requestId": "req_dE6fG7" },
  "errors": []
}

guide_integrations_content.webhooks_setup_title

guide_integrations_content.webhooks_setup_intro

app.zadixflow.com/integrations
API-Schlüssel
Webhooks
https://hooks.zapier.com/hooks/catch/12345/abcdef
service_event.createdservice_event.finalized
Letzte Zustellung: 2 min agoErfolgsrate: 100%
https://erp.acme-hvac.com/api/webhooks/zadix
service_event.confirmedservice_event.validatedservice_event.finalized
Letzte Zustellung: 1 hr agoErfolgsrate: 98.4%2 fehlgeschlagen
https://staging.dev.internal/webhook
service_event.created
Letzte Zustellung: 5 days agoErfolgsrate: 72.0%7 fehlgeschlagen
1
guide_integrations_content.webhooks_step1
guide_integrations_content.webhooks_step1_desc
2
guide_integrations_content.webhooks_step2
guide_integrations_content.webhooks_step2_desc
3
guide_integrations_content.webhooks_step3
guide_integrations_content.webhooks_step3_desc
4
guide_integrations_content.webhooks_step4
guide_integrations_content.webhooks_step4_desc

Toggle any endpoint on or off without deleting it. The delivery log per endpoint shows every attempted delivery — HTTP status code, attempt count, response time — with a manual retry button for failed deliveries.

guide_integrations_content.webhook_events_title

guide_integrations_content.webhook_events_intro

Serviceereignis-Lebenszyklus — Webhook feuert bei jedem ↓ Übergang

service_event.created→service_event.confirmed→service_event.validated→🔒 service_event.finalized
service_event.created
Trigger

A technician creates a new field service event.

Payload note

Full service event object at creation state — lifecycle_status: draft.

service_event.confirmed
Trigger

The technician reviews and confirms AI-extracted data is accurate.

Payload note

Service event with lifecycle_status: confirmed and extracted field values.

service_event.validated
Trigger

Office staff validates the event against all compliance rules.

Payload note

Service event with compliance_status set and any compliance flags attached.

service_event.finalized
Trigger

Owner permanently seals the record — no further edits are possible.

Payload note

Includes record_hash (SHA-256) for tamper-proof audit trail verification.

guide_integrations_content.payload_title

guide_integrations_content.payload_intro

{
  "id": "evt_a1b2c3d4e5f6a7b8c9d0",
  "event": "service_event.finalized",
  "created_at": "2026-04-03T14:23:00.000Z",
  "company_id": "e5f6a7b8-c9d0-1234-efab-012345678904",
  "data": {
    "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
    "lifecycle_status": "finalized",
    "compliance_status": "valid",
    "action_type": "refill",
    "refrigerant_type": "R-410A",
    "quantity_added_kg": 1.5,
    "event_timestamp": "2026-04-03T14:00:00.000Z",
    "technician_id": "c3d4e5f6-a7b8-9012-cdef-012345678902",
    "equipment_id": "b2c3d4e5-f6a7-8901-bcde-f12345678901",
    "record_hash": "sha256:9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0...",
    "finalized_at": "2026-04-03T14:23:00.000Z"
  }
}

Anfrage-Header bei jeder Zustellung

HeaderExample valueDescription
x-zadix-signaturesha256=9f86d081...HMAC-SHA256 of the raw request body bytes, signed with your endpoint secret
x-zadix-eventservice_event.finalizedThe event type that triggered this delivery
x-zadix-deliveryevt_a1b2c3d4e5f6...Unique delivery ID — use for idempotency and support lookups
Content-Typeapplication/jsonAlways JSON

guide_integrations_content.signatures_title

guide_integrations_content.signatures_intro

Never skip this step. Process the raw request body — before JSON parsing — to compute the HMAC. If you parse JSON first and re-serialize, key ordering may differ from what was signed, causing legitimate deliveries to fail verification.

Node.js / Express

const crypto = require('crypto');

function verifySignature(secret, rawBody, signatureHeader) {
  const expected = 'sha256=' + crypto
    .createHmac('sha256', secret)
    .update(rawBody)          // rawBody is a Buffer from express.raw()
    .digest('hex');
  return crypto.timingSafeEqual(
    Buffer.from(signatureHeader),
    Buffer.from(expected),
  );
}

// Use express.raw() so req.body is the raw Buffer, not parsed JSON
app.post('/webhook', express.raw({ type: 'application/json' }), (req, res) => {
  const sig = req.headers['x-zadix-signature'];
  if (!sig || !verifySignature(process.env.WEBHOOK_SECRET, req.body, sig)) {
    return res.status(401).send('Invalid signature');
  }
  const event = JSON.parse(req.body);
  // Use event.id to deduplicate retries
  console.log(event.event, event.data.id);
  res.status(200).send('ok');
});

Python / Flask

import hmac, hashlib, os
from flask import Flask, request

app = Flask(__name__)

def verify_signature(secret: str, raw_body: bytes, signature_header: str) -> bool:
    expected = 'sha256=' + hmac.new(
        secret.encode(), raw_body, hashlib.sha256
    ).hexdigest()
    return hmac.compare_digest(expected, signature_header)

@app.route('/webhook', methods=['POST'])
def webhook():
    sig = request.headers.get('x-zadix-signature', '')
    # request.data is the raw body bytes — do not use request.json here
    if not verify_signature(os.environ['WEBHOOK_SECRET'], request.data, sig):
        return 'Invalid signature', 401
    event = request.json
    print(event['event'], event['data']['id'])
    return 'ok', 200

PHP

<?php
function verifySignature(string $secret, string $rawBody, string $sigHeader): bool {
    $expected = 'sha256=' . hash_hmac('sha256', $rawBody, $secret);
    return hash_equals($expected, $sigHeader);   // timing-safe comparison
}

$rawBody = file_get_contents('php://input');     // raw bytes before json_decode
$sig = $_SERVER['HTTP_X_ZADIX_SIGNATURE'] ?? '';

if (!verifySignature(getenv('WEBHOOK_SECRET'), $rawBody, $sig)) {
    http_response_code(401);
    exit('Invalid signature');
}

$event = json_decode($rawBody, true);
error_log($event['event'] . ' ' . $event['data']['id']);
http_response_code(200);
Use timing-safe comparison. Always use crypto.timingSafeEqual (Node.js), hmac.compare_digest (Python), or hash_equals (PHP). A naive === string comparison leaks timing information that can be exploited to forge signatures.

guide_integrations_content.retries_title

guide_integrations_content.retries_intro

Retry schedule

1st attempt
Immediate
↓
2nd attempt
+5 minutes
↓
3rd attempt
+1 hour
↓
Failed attempt
No more retries

A 2xx response on any attempt marks the delivery as successful and stops all further retries.

Failed deliveries remain visible in the delivery log per endpoint in the dashboard. You can manually trigger a retry for any failed delivery at any time — failed deliveries do not expire.

Make your handler idempotent. Because of retries, your endpoint may receive the same event more than once. Use the id field (e.g. evt_a1b2c3d4e5f6) in the payload to deduplicate — if you have already processed a delivery with that ID, return 200 without reprocessing.