Skip to main content
GET
List Webhook Events
Get a list of all available webhook event types that you can subscribe to. Each event type represents a specific action or status change in the system.

Use Cases

  • View all available event types
  • Select events to subscribe to
  • Understand event naming conventions

Response Example

Available Event Types

Video Generation Events

Avatar Generation Events

AI Script Generation Events

Image Generation Events

Motion Generation Events

We recommend subscribing to at least *_success and *_failed events to stay informed about task completion status.

Webhook Payload Examples

When an event is triggered, your endpoint will receive a JSON payload similar to the following:

Video Generation Success Event

Avatar Generation Success Event

Script Generation Success Event

Image Generation Success Event

Image Generation Failed Event

Motion Generation Success Event

Motion Generation Failed Event

Best Practices

  • Use idempotent processing: The same event may be sent multiple times, ensure your logic handles this
  • Implement retry logic: The system will retry sending webhooks if processing fails
  • Respond quickly: Return a 2xx status code within 5 seconds to avoid timeouts
  • Process asynchronously: Return 200 immediately after receiving the event, then process business logic asynchronously
  • Verify signatures: Use the webhook secret to verify request authenticity

Event Naming Convention

Most events follow the generated_{resource}_{status} or create_{resource}_{status} naming pattern:
  • {resource}: Resource type (e.g., avatar_video, product_avatar, script, avatar)
  • {status}: Status (success or failed)
Note: Some legacy events use simpler naming (e.g., generated_video_success, create_avatar_success).

Authorizations

x-api-key
string
header
required

API key for authentication. Obtain your key from the JoggAI dashboard.

Response

200 - application/json

Success

code
integer
required

Business status code:

  • 0 - Success
  • 10104 - Record not found
  • 10105 - Invalid API key
  • 18020 - Insufficient credit
  • 18025 - No permission to call APIs
  • 40000 - Parameter error
  • 50000 - System error
Example:

0

msg
string
required

Response message

Example:

"Success"

data
object