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

# Rotate webhook signing secret

`POST /webhooks/endpoints/{id}/rotate`

Rotate the webhook signing secret. Both old and new secrets are valid during rotation.

## Path parameters

- `id` string, uuid, required

## Response `200`

Secret rotated. The new secret is returned once — store it securely.

- object
  - `data` object, required
    - `secret` string, required
  - `meta` object, required
    - `request_id` string, required
    - `timestamp` string, date-time, required

## Other responses

- `404` — Endpoint not found.

---

[API](https://skmtc.net/yoshi-ai-dev/apis/yoshi-api.md) · [All operations](https://skmtc.net/yoshi-ai-dev/apis/yoshi-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/yoshi-ai-dev/yoshi-api/versions/79b8247d58a2/schema)
