---
title: "Update a webhook endpoint. Roles: partner admin."
method: PUT
path: "/api/partners/orgs/{orgId}/webhook-endpoints/{webhookEndpointId}"
tags: ["Webhooks", "Partners"]
---

# Update a webhook endpoint. Roles: partner admin.

`PUT /api/partners/orgs/{orgId}/webhook-endpoints/{webhookEndpointId}`

## Path parameters

- `orgId` integer, required
- `webhookEndpointId` integer, required

## Request body

- WebhookEndpointUpdateRequest
  - `authHeader` string
  - `eventTypeCodes` string[], required

## Response `200`

OK

- WebhookEndpointResponseWebhookEndpointCoreWithAuthHeader
  - `success` boolean
  - `error` string
  - `webhookEndpoint` WebhookEndpointCoreWithAuthHeader
    - `audit` Audit
      - `createdTime` string, date-time
      - `modifiedTime` string, date-time
      - `modifiedBy` string
    - `webhookEndpointId` integer
    - `orgId` integer
    - `url` string
    - `eventTypeCodes` string[]
    - `authHeader` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `500` — Internal server error

---

[API](https://skmtc.dev/mobilecoach/apis/untitled-api.md) · [All operations](https://skmtc.dev/mobilecoach/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mobilecoach/untitled-api/revisions/f2568e11c0ab/schema)
