Webhook
Add a Webhook Endpoint
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
Webhook
Add a Webhook Endpoint
Add a new webhook endpoint configuration
POST
/
endpoint
curl --request POST \
--url https://api.jogg.ai/v1/endpoint \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://example.com/webhook",
"events": [
"generated_video_success"
],
"status": "enabled"
}'
{
"endpoint_id": "b1ac30a401234c96ad128303dfb431e2",
"url": "https://example.com/webhook",
"secret": "your-secret-key",
"status": "enabled",
"events": [
"generated_video_success"
],
"username": "jogg@gmail.com",
"created_at": 1703894400
}
Authorizations
Body
application/json
Response
200 - application/json
Successful operation
The response is of type object
.
curl --request POST \
--url https://api.jogg.ai/v1/endpoint \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"url": "https://example.com/webhook",
"events": [
"generated_video_success"
],
"status": "enabled"
}'
{
"endpoint_id": "b1ac30a401234c96ad128303dfb431e2",
"url": "https://example.com/webhook",
"secret": "your-secret-key",
"status": "enabled",
"events": [
"generated_video_success"
],
"username": "jogg@gmail.com",
"created_at": 1703894400
}