Skip to Content
Beispiele

HTTP-Beispiele

cURL- und Request-Beispiele für die Tillor API

Zuletzt aktualisiert am

Öffnungszeiten und Feiertage für eine öffentliche Website: Öffnungszeiten-API.

API-Request mit cURL

curl -X GET "https://tillor.eu/api/orgs/org_abc123/customers" \
  -H "x-api-key: tkn_xxx" \
  -H "Content-Type: application/json"

API-Schlüssel anlegen

curl -X POST "https://tillor.eu/api/api-keys" \
  -H "Cookie: session=..." \
  -H "Content-Type: application/json" \
  -d '{"name": "Mijn integratie", "description": "Optionele beschrijving"}'

Webhook anlegen

curl -X POST "https://tillor.eu/api/orgs/org_abc123/webhooks" \
  -H "x-api-key: tkn_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://jouw-server.com/webhooks/tillor",
    "subscribedEventKeys": ["invoice:created", "invoice:paid", "customer:updated"],
    "enabled": true
  }'
War diese Seite hilfreich?

Auf dieser Seite