Introduction
Webhooks allow you to receive real-time HTTP callbacks when events occur in your Outcry AI account. This is particularly useful for video generation, where processing can take 60-90 seconds.Use Cases
- Video Generation: Get notified when videos complete or fail
- Chat Completion: Receive updates when long-running chat requests finish
- Error Handling: Be alerted when API errors occur
How Webhooks Work
- Register a webhook endpoint with your desired event types
- Receive POST requests to your endpoint when events occur
- Verify the webhook signature to ensure authenticity
- Process the event data in your application
Supported Events
Security
All webhook requests include:- Signature Header:
X-Outcry-Signaturewith HMAC-SHA256 signature - Timestamp Header:
X-Outcry-Timestampto prevent replay attacks - Secret: Unique webhook secret provided on creation
Next Steps
Create Webhook
Register a new webhook endpoint
Webhook Guide
Comprehensive webhook setup guide