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

x-api-key
string
header
required

Path Parameters

endpoint_id
string
required

Webhook endpoint ID

Body

application/json

Response

200 - application/json

Successful operation

The response is of type object.