Webhook Endpoints & Events

Two new resources have been added: Webhook Endpoints and Events.


Webhook Endpoints

The per-task webhook_url field has been replaced by a dedicated Webhook Endpoints resource. Create endpoints that subscribe to specific event topics.

curl -X POST "https://api.ittybit.com/webhooks/endpoints" \
-H "Authorization: Bearer ITTYBIT_API_KEY" \
-H "Content-Type: application/json" \
-d '{
  "url": "https://your-app.com/webhooks/ittybit",
  "topics": ["task.succeeded", "task.failed"]
}'

Available topics

task.created, task.updated, task.succeeded, task.failed, run.created, run.updated, run.succeeded, run.failed


Events

Events are now a queryable resource. List and retrieve events for your project.

  • GET /events — List events
  • GET /events/:id — Get a single event
api
2025-12-01