---
title: "Update a Webhook"
method: PATCH
path: "/v1/partners/webhooks/{webhookId}"
tags: ["Partner Webhooks"]
---

# Update a Webhook

`PATCH /v1/partners/webhooks/{webhookId}`

This API allows you to update a specified webhook

## Path parameters

- `webhookId` string, required

## Request body

- UpdateWebhookRequest
  - `eventType` 'UPDATE_PLAID_CREDENTIALS' | 'USER_PAYMENT_STATUS' | 'USER_CONNECTION_STATUS' | 'EMPTY_LOAN_ACCOUNT_WEBHOOK' | 'PLATFORM_PAYMENT_STATUS' | 'USER_ACCOUNT_DISCONNECT' | 'USER_LIABILITY_ACCOUNT_TRANSITION' | 'USER_LIABILITY_ACCOUNT_REFRESH' | 'USER_REFINANCE_STATUS' | 'USER_CREDIT_PROFILE_TRANSACTION' | 'USER_CREDIT_PROFILE_TRANSACTION_FAILED' | 'USER_LIABILITIES_CONNECTED' | 'USER_LIABILITIES_CONNECTION_FAILED' | 'REFRESH_TRANSACTION_STATUS' | 'BANK_ACCOUNT_LOOKUP_STATUS_CHANGE' | 'LIABILITY_GROUP_PAYOFF_QUOTE_STATUS_CHANGE' | 'STATEMENT_SUMMARY_NOTIFICATION' | 'NEW_LIABILITIES_REPORTED' | 'SUBSCRIPTION_ACTIVATED' | 'SUBSCRIPTION_FAILED' — The event type which triggers the webhook
  - `url` string, required — Partner provided webhook URL
  - `headers` Header[] — Header credentials are optional for webhooks
    - `name` string, required — Name of header
    - `value` string, required — Value of header

## Response `200`

Successful response

- UpdateWebhooksResponse
  - `status` ResponseStatus, required
    - `code` number
    - `desc` string
    - `messages` Message[]
      - `desc` string, required
      - `type` 'ERROR' | 'WARN' | 'INFO'
  - `data` GetWebhookByIdUtilityResponse, required
    - `isEnabled` boolean — Indicates whether the webhook is currently active or not.
    - `webhookId` string, required — The ID of the webhook
    - `eventType` string, required — The event type which triggers the webhook
    - `url` string, required — Partner provided webhook URL
    - `headers` Header[] — Header credentials are optional for webhooks
      - `name` string, required — Name of header
      - `value` string, required — Value of header

## Other responses

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

---

[API](https://skmtc.dev/spinwheel/apis/discover.md) · [All operations](https://skmtc.dev/spinwheel/apis/discover/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/spinwheel/discover/revisions/55b90a2e1dd4/schema)
