---
title: "Update webhook"
method: PUT
path: "/webhooks/{webhookId}"
tags: ["Webhooks"]
---

# Update webhook

`PUT /webhooks/{webhookId}`

Make an API call to this endpoint to update a webhook

## Path parameters

- `webhookId` string, required

## Request body

- UpdateWebhookRequestDto
  - `url` string — The destination url of the webhook
  - `events` string[] — The list of events this webhook is subscribed to
  - `disabled` boolean — (optional) Disable the webhook endpoint if set to true.

## Response `200`

Webhook has been updated

- UpdateWebhookResponseDto
  - `id` string — The id of the installed webhook
  - `url` string — The destination url of the webhook
  - `events` string[] — The list of events this webhook is subscribed to
  - `type` string — The type of webhook; can be either `INSTALLED` or `CREATOR`
  - `disabledAt` string — (optional) Date (YYYY-MM-DD hh:mm:ss) of when the webhook was deleted if it was deleted

## Other responses

- `400` — Invalid parameter in request query or body
- `401` — Unauthorized
- `403` — Access Denied
- `404` — The specified resource was not found
- `500` — Internal Server Error

---

[API](https://skmtc.net/attentive/apis/attentive-api-v2.md) · [All operations](https://skmtc.net/attentive/apis/attentive-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/attentive/attentive-api-v2/revisions/be387e501197/schema)
