# createWebhook

Creates a webhook. When `enabled` is `true`, the URL is verified with a `webhook.test` request before persisting.

```
createWebhook(

  input: CreateWebhookInput!

): Webhook!
```

### Arguments[​](#arguments "Direct link to Arguments")

#### [`createWebhook.input`](#input) ● [`CreateWebhookInput!`](https://docs.monei.com/apis/graphql/types/inputs/create-webhook-input/.md) non-null input[​](#input "Direct link to input")

### Type[​](#type "Direct link to Type")

#### [`Webhook`](https://docs.monei.com/apis/graphql/types/objects/webhook/.md) object[​](#webhook- "Direct link to webhook-")

HTTP endpoint that receives MONEI events. Each delivery is signed with the account's API key (`MONEI-Signature: t=<unix>,v1=<hmac-sha256>` over `<unix>.<body>`). Failed deliveries are retried with exponential backoff; the webhook is automatically disabled and `lastResponse` recorded once retries are exhausted.
