Back to DocumentationAPI Reference

Webhooks API ReferenceReal-time notifications for events in your ML pipeline

Set up webhook endpoints to receive real-time notifications about prediction completions, batch processing, and system events.

Delivery Time

< 1s

Security

HMAC SHA-256

Event Types

7 Events

Retry Policy

5 Attempts

Webhook Sections

Webhook Setup

Configure webhook endpoints to receive real-time notifications

Create Webhook Endpoint

Create a new webhook endpoint to receive real-time notifications about events in your ML pipeline.

POST Request
curl -X POST https://api.litends.com/v1/webhooks \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-domain.com/webhooks/litends",
    "events": ["prediction.completed", "batch.completed"],
    "secret": "your-webhook-secret",
    "description": "Production webhook endpoint"
  }'

Endpoint Requirements

  • HTTPS URL (required)
  • Returns 200-299 status codes
  • Responds within 30 seconds
  • Handles POST requests
  • Validates webhook signatures

Best Practices

  • Use HTTPS for security
  • Implement idempotency
  • Handle retries gracefully
  • Log webhook events

Ready to use webhooks?

Set up your first webhook endpoint and start receiving real-time notifications for your ML pipeline events.