Documentation Index
Fetch the complete documentation index at: https://docs.getclaro.ai/llms.txt
Use this file to discover all available pages before exploring further.
All operations require authentication using Bearer tokens. Make sure you have
your API credentials ready.
Create Webhook
Create a new webhook endpoint to receive real-time notifications for various events.List All Webhooks
Retrieve a paginated list of all your webhooks with their current status and statistics.Get Webhook Details
Retrieve detailed information about a specific webhook including delivery logs and configuration.Update Webhook
Update webhook configuration including URL, events, headers.Test Webhook
Send a test payload to your webhook endpoint to verify connectivity and authentication.Get Webhook Delivery Logs
Retrieve detailed delivery logs for a specific webhook.Retry Failed Delivery
Manually retry a failed webhook delivery.Delete Webhook
Permanently delete a webhook. This action cannot be undone.Webhook Requirements & Validation
URL Requirements
- Must use HTTPS protocol
- Must be publicly accessible
- Must respond within 30 seconds
- Must return HTTP status codes 200-299 for success
Authentication Headers
- Custom headers are supported for authentication
- Headers containing sensitive data are redacted in responses
- Maximum 10 custom headers per webhook
Secret Validation
- Minimum 16 characters required
- Used for HMAC-SHA256 signature generation
- Signature sent in
X-Webhook-Signatureheader
Idempotency
- Use
Idempotency-Keyheader to prevent duplicate operations - Keys expire after 24 hours
- Duplicate requests return the original response
Available Events
| Event | Description | Payload Includes |
|---|---|---|
dataset.created | New dataset created | datasetId, name, type |
dataset.task.started | Dataset task execution started | taskId, type, datasetId |
dataset.task.completed | Dataset task execution completed | taskId, results, duration |
dataset.task.failed | Dataset task execution failed | taskId, error, details |
dataset.updated | Dataset metadata or structure updated | datasetId, changes |
datasource.uploaded | New datasource uploaded | datasourceId, fileName |
datasource.processed | Datasource processing completed | datasourceId, status |
webhook.test | Test event for webhook validation | testPayload |
Query Parameters
List Webhooks
page(integer): Page number (default: 1)limit(integer): Items per page (default: 20, max: 100)status(string): Filter by status (active,paused,failed)event(string): Filter by event type
Get Delivery Logs
page(integer): Page number (default: 1)limit(integer): Items per page (default: 50, max: 500)status(string): Filter by delivery status (success,failed,pending)event(string): Filter by event typefrom(string): Start date (ISO 8601)to(string): End date (ISO 8601)
Error Codes
| Code | Description |
|---|---|
UNAUTHORIZED | Authentication required |
WEBHOOK_NOT_FOUND | Webhook doesn’t exist |
DELIVERY_NOT_FOUND | Delivery record doesn’t exist |
INVALID_URL | Webhook URL is invalid or not HTTPS |
INVALID_EVENTS | One or more events are not supported |
SECRET_TOO_SHORT | Webhook secret must be at least 16 chars |
TOO_MANY_HEADERS | Maximum 10 custom headers allowed |
DUPLICATE_IDEMPOTENCY_KEY | Idempotency key already used |
WEBHOOK_LIMIT_EXCEEDED | Maximum webhook limit reached |
DELIVERY_ALREADY_RETRIED | Delivery has already been retried |