Webhook
Update a Webhook Endpoint
QuickStart
API Documentation
URL to Video
Create Avatar Videos
Get Generated Video
AI Scripts
Upload Media
Avatar
Visual Style
Webhook
Update a Webhook Endpoint
Update an existing webhook endpoint configuration
PUT
/
endpoint
/
{endpoint_id}
curl --request PUT \
--url https://api.jogg.ai/v1/endpoint/{endpoint_id} \
--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": "<string>",
"url": "<string>",
"secret": "<string>",
"status": "<string>",
"events": [
"<string>"
],
"username": "jogg@gmail.com",
"created_at": 1703894400
}
Authorizations
Path Parameters
Webhook endpoint ID
Body
application/json
Response
200 - application/json
Successful operation
The response is of type object
.
curl --request PUT \
--url https://api.jogg.ai/v1/endpoint/{endpoint_id} \
--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": "<string>",
"url": "<string>",
"secret": "<string>",
"status": "<string>",
"events": [
"<string>"
],
"username": "jogg@gmail.com",
"created_at": 1703894400
}