Skip to main content
POST
Add webhook endpoint

Authorizations

x-api-key
string
header
required

Body

application/json
url
string
required

Webhook endpoint URL (must be HTTPS)

Example:

"https://example.com/webhook"

events
enum<string>[]
required

List of events to subscribe to

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

Webhook status

Available options:
enabled,
disabled
Example:

"enabled"

Response

200 - application/json

Successful operation

endpoint_id
string

Unique identifier for the webhook

Example:

"b1ac30a401234c96ad128303dfb431e2"

url
string

Webhook URL

Example:

"https://example.com/webhook"

secret
string

Secret for signature verification

Example:

"your-secret-key"

status
string

Current webhook status

Example:

"enabled"

events
string[]

List of subscribed events

Example:
username
string

Username

Example:

"jogg@gmail.com"

created_at
integer

Creation timestamp (Unix timestamp)

Example:

1703894400