---
title: "Rotate webhook secret"
method: POST
path: "/webhooks/{id}/rotate-secret"
tags: ["Webhooks"]
---

# Rotate webhook secret

`POST /webhooks/{id}/rotate-secret`

## Path parameters

- `id` string, required

## Response `200`

New secret generated. Save it — it will only be shown once.

- object
  - `data` object
    - `id` string
    - `secret` string — New webhook signing secret
  - `message` string

## Other responses

- `404` — Webhook not found

---

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