v1
latestOpenAPI 3.0.1MIT2026-07-2638658.5 KBWebhook
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/v2/endpoint
Request body
Example request
{
"url": "https://your-domain.com/webhook",
"status": "enabled",
"events": [
"generated_avatar_video_success",
"generated_avatar_video_failed"
]
}Response
Success
Example response
{
"msg": "Success",
"data": {
"endpoint_id": "wh_123456789",
"url": "https://your-domain.com/webhook",
"secret": "whsec_abc123xyz",
"status": "enabled",
"events": [
"generated_avatar_video_success",
"generated_avatar_video_failed"
],
"username": "johndoe",
"created_at": 1732806631
}
}