# CreateWebhookRequest
## Properties
**event_schema_version** | Option<**String**> | Pinned event payload version. Defaults to \"2026-04-01\" when omitted. Must match a value in `SUPPORTED_EVENT_VERSIONS` or the request is rejected with HTTP 422. | [optional]
**events** | **Vec<String>** | |
**headers** | Option<[**serde_json::Value**](.md)> | | [optional]
**name** | **String** | |
**payload_template** | Option<[**models::PayloadTemplate**](PayloadTemplate.md)> | Payload layout for the target platform (default: generic). | [optional]
**repository_id** | Option<[**uuid::Uuid**](uuid::Uuid.md)> | | [optional]
**secret** | Option<**String**> | Optional caller-supplied secret. When omitted the server generates a fresh `whsec_*` secret. Either way the raw value is returned in the 201 response body exactly once and is unrecoverable thereafter. | [optional]
**url** | **String** | |
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)