---
search:
  tags:
    - Webhooks
    - POST
seo:
  description: >-
    Replaces the account's webhook signing secret and returns the new one.…
    Reference for the POST /v1/webhooks/secret/rotate endpoint in the convt API.
sidebar:
  label: Rotate the webhook signing secret
  badge: POST
title: Rotate the webhook signing secret
type: openapi-operation
---
Replaces the account's webhook signing secret and returns the new one. Deliveries from then on are signed with it. API keys only.

`POST /v1/webhooks/secret/rotate`

**Responses**

- `200` — The account's signing secret.
- `400` — Request refused
- `401` — \`unauthorized\`: no \`Authorization: Bearer\` header.
- `403` — \`unauthorized\` (key invalid or revoked) or a billing limit.
- `429` — \`rate\_limited\`: more than 120 requests in a minute for this key.

Response example, 200:

```json
{
  "secret": "string",
  "version": 0
}
```
