# updateWebhook

Updates a webhook. Re-enabling (`enabled: true`) re-runs the URL reachability test.

```
updateWebhook(

  input: UpdateWebhookInput!

): Webhook!
```

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

#### [`updateWebhook.input`](#input) ● [`UpdateWebhookInput!`](https://docs.monei.com/apis/graphql/types/inputs/update-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.
