Add Webhook Endpoint
Webhook
Add Webhook Endpoint
Create a new webhook endpoint to receive event notifications. You can specify which events to subscribe to and configure the endpoint URL.
POST
Add Webhook Endpoint
Create a new webhook endpoint to receive event notifications.
You can specify which event types to subscribe to and configure the endpoint URL.
Limit: Each user can create up to 20 webhook endpoints.
Use Cases
- Receive video generation completion notifications
- Monitor task failure events
- Track avatar creation status in real-time
- Integrate with third-party systems
Important Notes
Webhook endpoints must be able to receive POST requests and return a 2xx status code within 5 seconds to confirm receipt.
Available Event Types
Video Generation Events
Avatar Generation Events
AI Script Generation Events
Image Generation Events
Motion Generation Events
Webhook Signature Verification
Each webhook request includes a signature to verify the authenticity of the request source. Use the returnedsecret to verify the signature.
Example Request Headers
Signature Verification Examples
Go
Python
Node.js
Best Practices
Quick Response
Return 200 status code within 5 seconds
Async Processing
Return immediately, process business logic in background
Idempotent Handling
Same event may be sent multiple times, ensure idempotency
Error Retry
System automatically retries failed webhooks
Authorizations
API key for authentication. Obtain your key from the JoggAI dashboard.
Body
application/json
Response
200 - application/json
Success

