Integrieren Sie Zeitplanr in Ihre Anwendungen
Basis-URL
https://zeitplanr.deAuthentifizierung
Öffentliche Endpunkte benötigen keine Authentifizierung. Authentifizierte Endpunkte verwenden Session-Cookies (NextAuth).
Rate Limiting
Öffentliche Endpunkte sind auf 60 Anfragen pro Minute begrenzt. Authentifizierte Endpunkte: 120/min.
curl -X POST https://zeitplanr.de/api/book \
-H "Content-Type: application/json" \
-d '{
"username": "max-mustermann",
"eventTypeSlug": "30-min",
"startTime": "2026-04-01T10:00:00.000Z",
"guestName": "Anna Schmidt",
"guestEmail": "anna@example.com",
"guestTimezone": "Europe/Berlin",
"gdprConsent": true
}'Alle Webhook-Payloads werden mit HMAC-SHA256 signiert. Der Signatur-Header ist X-Webhook-Signature. Verifizieren Sie die Signatur mit Ihrem Webhook-Secret.
// Verify webhook signature (Node.js)
const crypto = require('crypto');
function verifyWebhook(payload, signature, secret) {
const expected = crypto
.createHmac('sha256', secret)
.update(JSON.stringify(payload))
.digest('hex');
return signature === expected;
}
// In your webhook handler:
const isValid = verifyWebhook(
req.body,
req.headers['x-webhook-signature'],
'your-webhook-secret'
);