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.Documentation Index
Fetch the complete documentation index at: https://docs.jogg.ai/llms.txt
Use this file to discover all available pages before exploring further.
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
| Event | Description | When Triggered |
|---|---|---|
generated_video_success | Video generation succeeded | Video is ready to download |
generated_video_failed | Video generation failed | An error occurred during generation |
generated_product_video_success | Product video generation succeeded | Video is ready to download |
generated_product_video_failed | Product video generation failed | An error occurred during generation |
generated_avatar_video_success | Avatar video generation succeeded | Video is ready to download |
generated_avatar_video_failed | Avatar video generation failed | An error occurred during generation |
generated_template_video_success | Template video generation succeeded | Video is ready to download |
generated_template_video_failed | Template video generation failed | An error occurred during generation |
generated_translate_video_success | Video translation succeeded | Translated video is ready |
generated_translate_video_failed | Video translation failed | An error occurred during translation |
Avatar Generation Events
| Event | Description | When Triggered |
|---|---|---|
create_avatar_success | Avatar creation succeeded | Avatar is ready to use |
create_avatar_failed | Avatar creation failed | An error occurred during avatar creation |
generated_photo_avatar_success | Photo avatar creation succeeded | Avatar is ready to use |
generated_photo_avatar_failed | Photo avatar creation failed | An error occurred during avatar creation |
generated_product_avatar_success | Product avatar creation succeeded | Avatar is ready to use |
generated_product_avatar_failed | Product avatar creation failed | An error occurred during avatar creation |
AI Script Generation Events
| Event | Description | When Triggered |
|---|---|---|
generated_script_success | AI script generation succeeded | Scripts are ready to use |
generated_script_failed | AI script generation failed | An error occurred during script generation |
Image Generation Events
| Event | Description | When Triggered |
|---|---|---|
generated_image_success | Image generation succeeded | Generated images are ready |
generated_image_failed | Image generation failed | An error occurred during image generation |
Motion Generation Events
| Event | Description | When Triggered |
|---|---|---|
generated_motion_success | Motion generation succeeded | Generated motion video is ready |
generated_motion_failed | Motion generation failed | An error occurred during motion generation |
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
Webhook endpoint URL that will receive POST requests
Example:
"https://your-domain.com/webhook"
Initial status of the webhook
Available options:
enabled, disabled Example:
"enabled"
List of event types to subscribe to
Example:
[
"generated_avatar_video_success",
"generated_avatar_video_failed"
]Response
200 - application/json
Success

