Create User Webhook
Register a new webhook URL for the authenticated user, subscribing it to the specified event types.
Authorizations
API key must be provided in the Authorization header
Body
HTTPS URL to receive webhook event deliveries; must start with 'https://', have a valid hostname, and be at most 2048 characters.
"https://example.com/vastai-hook"
List of notification slug strings (e.g. 'low_disk_space' or 'host:low_disk_space') this webhook should receive; must be non-empty and contain only known slugs.
Optional human-readable display label for this webhook (max 120 characters, no control characters).
"My integration"
Response
Success; returns {success: true, webhook: object, enabled_notification_preferences: list}; webhook includes webhook_secret (shown once)
Always true on success.
The created webhook object including id, user_id, name, webhook_url, event_types, created_at, updated_at, and the one-time webhook_secret.
List of preference keys (e.g. 'host:low_disk_space') that were automatically enabled for webhook delivery.