Esempi
Esempi HTTP
Esempi di cURL e di richieste per l'API di Tillor
Ultimo aggiornamento il
Orari di apertura e festivi per un sito pubblico: API degli orari di apertura.
Richiesta API con cURL
curl -X GET "https://tillor.eu/api/orgs/org_abc123/customers" \
-H "x-api-key: tkn_xxx" \
-H "Content-Type: application/json"Creare una chiave 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"}'Creare 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
}'Questa pagina è stata utile?