---
title: "Update a webhook endpoint (url, events, status, rotate_secret)"
method: PATCH
path: "/v2/otp/webhooks/{webhook_id}"
tags: ["otp-webhooks-v2"]
---

# Update a webhook endpoint (url, events, status, rotate_secret)

`PATCH /v2/otp/webhooks/{webhook_id}`

## Request

- Base URL: `https://api.tracklysms.com/api`
- URL: `https://api.tracklysms.com/api/v2/otp/webhooks/{webhook_id}`
- Auth: API key in header `X-Api-Key`

## Response `200`

Success

---

[API](https://skmtc.dev/tracklysms/apis/trackly-sms-api.md) · [All operations](https://skmtc.dev/tracklysms/apis/trackly-sms-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tracklysms/apis/trackly-sms-api/revisions/ac1ad22cb2a9?raw)
