# CreateWebhookInput

Input for `createWebhook`.

```
input CreateWebhookInput {

  url: String!

  eventTypes: [WebhookEventType!]!

  enabled: Boolean

}
```

### Fields[​](#fields "Direct link to Fields")

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

HTTPS endpoint that will receive events.

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

Event types to subscribe to.

#### [`CreateWebhookInput.enabled`](#enabled) ● [`Boolean`](https://docs.monei.com/apis/graphql/types/scalars/boolean/.md) scalar[​](#enabled "Direct link to 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 "Direct link to Member Of")

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