API Documentation

Deploy Webhook

POST deploy events from your CI/CD pipeline:

POST https://canterforge.com/cronsafe/api/webhook/deploy/YOUR_TOKEN
Content-Type: application/json

{"version":"v1.2.3","commit_sha":"abc1234","branch":"main","author":"[email protected]"}

GitHub push webhooks are auto-detected — point your repo webhook directly at this URL.

Management API

Authenticate with: Authorization: Bearer pf_...

GET /api/services — List services
POST /api/services — Add service {"name","url"}
GET /api/services/:id — Service detail + checks + deploys
POST /api/services/:id/deploys — Manual deploy log
POST /api/services/:id/tokens — Create deploy webhook