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

# Rotate a webhook signing secret

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

## Request

- Base URL: `https://api.replylayer.ai`
- URL: `https://api.replylayer.ai/v1/webhooks/{id}/rotate-secret`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `signing_secret` string, required

## Other responses

- `400`: Validation error (code: VALIDATION_ERROR)
- `401`: Missing or invalid API key (code: UNAUTHORIZED)
- `403`: Forbidden
- `404`: Not found
- `429`: Rate limited (code: RATE_LIMITED)
- `500`: Internal error

---

[API](https://skmtc.dev/replylayer/apis/replylayer-api.md) · [All operations](https://skmtc.dev/replylayer/apis/replylayer-api/llms.txt) · [OpenAPI document](https://skmtc.dev/replylayer/apis/replylayer-api/revisions/2cae6fbd127e?raw)
