Démarrage
Créez votre première tâche cron en moins de 2 minutes.
1. Obtenez votre clé d'API
Après avoir créé un compte, retrouvez votre clé d'API dans la Console → Paramètres.
2. Créez votre première tâche
curl
curl -X POST https://api.opencronapi.com/v1/jobs \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Health check",
"url": "https://myapp.com/health",
"method": "GET",
"schedule_type": "interval",
"interval_seconds": 300,
"notify_on_failure": true
}'
3. Listez vos tâches
curl https://api.opencronapi.com/v1/jobs \ -H "X-API-Key: YOUR_API_KEY"
URL de base
https://api.opencronapi.com
Collection Postman
Téléchargez la collection Postman officielle pour explorer et tester tous les endpoints de l'API instantanément.