cURL
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 }
Update an existing webhook endpoint configuration
Webhook endpoint ID
New webhook URL (must be HTTPS)
"https://example.com/webhook"
New list of events to subscribe to
Show child attributes
["generated_video_success"]
New webhook status
enabled
disabled
Successful operation
Unique identifier for the webhook
Webhook URL
Secret for signature verification
Current webhook status
List of subscribed events
Username
"jogg@gmail.com"
Creation timestamp
1703894400