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

x-api-key
string
header
required

Body

application/json

Response

200 - application/json

Successful operation

The response is of type object.