Exemples
Exemples HTTP
Exemples cURL et de requêtes pour l'API Tillor
Dernière mise à jour le
Heures d'ouverture et jours fériés pour un site public : API des heures d'ouverture.
Requête API avec cURL
curl -X GET "https://tillor.eu/api/orgs/org_abc123/customers" \
-H "x-api-key: tkn_xxx" \
-H "Content-Type: application/json"Créer une clé API
curl -X POST "https://tillor.eu/api/api-keys" \
-H "Cookie: session=..." \
-H "Content-Type: application/json" \
-d '{"name": "Mijn integratie", "description": "Optionele beschrijving"}'Créer un webhook
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
}'Cette page t'a-t-elle été utile ?