# CreateWebhookInput

Input for `createWebhook`.

```
input CreateWebhookInput {

  url: String!

  eventTypes: [WebhookEventType!]!

  enabled: Boolean

}
```

### Fields[​](#fields "Enlace directo al Fields")

#### [`CreateWebhookInput.url`](#url) ● [`String!`](https://docs.monei.com/es/es/apis/graphql/types/scalars/string/.md) non-null scalar[​](#url "Enlace directo al url")

HTTPS endpoint that will receive events.

#### [`CreateWebhookInput.eventTypes`](#event-types) ● [`[WebhookEventType!]!`](https://docs.monei.com/es/es/apis/graphql/types/enums/webhook-event-type/.md) non-null enum[​](#event-types "Enlace directo al event-types")

Event types to subscribe to.

#### [`CreateWebhookInput.enabled`](#enabled) ● [`Boolean`](https://docs.monei.com/es/es/apis/graphql/types/scalars/boolean/.md) scalar[​](#enabled "Enlace directo al enabled")

Whether the webhook should be active immediately. When `true`, the URL is reachability-tested with a `webhook.test` payload before creation. Defaults to `true`.

### Member Of[​](#member-of "Enlace directo al Member Of")

[`createWebhook`](https://docs.monei.com/es/es/apis/graphql/operations/mutations/create-webhook/.md) mutation
