POST
/
endpoint

Authorizations

x-api-key
string
header
required

Body

application/json
url
string
required

Webhook endpoint URL (must be HTTPS)

events
enum<string>[]
required

List of events to subscribe to

Available options:
generated_video_success,
generated_video_failed
status
enum<string>
default:
enabled

Webhook status

Available options:
enabled,
disabled

Response

200 - application/json
Successful operation
endpoint_id
string

Unique identifier for the webhook

url
string

Webhook URL

secret
string

Secret for signature verification

status
string

Current webhook status

events
string[]

List of subscribed events

username
string

Username

created_at
integer

Creation timestamp (Unix timestamp)