Update an existing webhook endpoint configuration
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 }
Webhook endpoint ID
Successful operation
The response is of type object.
object