REST API ReferenceEndpointsWebhooks

Create webhook

Register a new webhook endpoint to receive tool_execution.* and file.* events. The signing secret is only returned in this response. Store it securely.

Authentication

AuthorizationBearer
API key from [app.videogen.io/developers](https://app.videogen.io/developers). The full key is only shown once when you create it.

Request

This endpoint expects an object.
urlstringRequiredformat: "uri"
HTTPS URL that will receive webhook POST requests.
eventslist of enumsRequired
descriptionstring or nullOptional

Response

Created; signingSecret is only returned in this response.

endpointIdstring
urlstringformat: "uri"
eventslist of enums
createdAtdouble

Seconds since epoch (Unix timestamp) when the endpoint was created.

descriptionstring or null
signingSecretstring

HMAC secret for verifying Standard Webhooks signatures. Only returned once on create; store it securely.

signingSecretLast4string
Last four characters of the signing secret, for display purposes.