---
title: "New signing secret for an endpoint."
method: POST
path: "/api/v1/webhooks/rotate"
tags: ["webhooks"]
---

# New signing secret for an endpoint.

`POST /api/v1/webhooks/rotate`

## Request

- Base URL: `https://cloudforbots.com`
- URL: `https://cloudforbots.com/api/v1/webhooks/rotate`
- Auth: HTTP bearer

The old secret stays valid 24h; during that window cfb-signature carries two v1= values, accept either.

## Request body

- object
  - `url` string, required

## Response `200`

ok

---

[API](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api.md) · [All operations](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cloudforbots/apis/cloud-for-bots-api/revisions/1afdb5648693?raw)
