---
title: "Update a webhook endpoint"
method: PUT
path: "/api/v0/webhook_endpoints/{id}"
tags: ["Webhooks"]
---

# Update a webhook endpoint

`PUT /api/v0/webhook_endpoints/{id}`

## Request

- Base URL: `https://www.getonbrd.com`
- URL: `https://www.getonbrd.com/api/v0/webhook_endpoints/{id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/getonbrd/apis/get-on-board-api/docs/api/v0/webhook_endpoints/:id/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body `application/x-www-form-urlencoded`

- object
  - `endpoint` string, required
  - `events` string[], required

## Response `200`

Updates an existing webhook endpoint's events or configuration.

- object
  - `data` object, required
    - `id` string, required
    - `type` string, required
    - `attributes` object, required
      - `endpoint` string, required
      - `state` string, required
      - `events` string[], required

## Other responses

- `422`: Updates an existing webhook endpoint's events or configuration.

---

[API](https://skmtc.dev/getonbrd/apis/get-on-board-api.md) - [All operations](https://skmtc.dev/getonbrd/apis/get-on-board-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getonbrd/apis/get-on-board-api/revisions/f8405113049f?raw)
