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

# Rotate the signing secret

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

## Request

- Base URL: `https://api.multi-upload-tool.com/api/v1`
- URL: `https://api.multi-upload-tool.com/api/v1/webhooks/{id}/rotate-secret`
- Auth: API key in header `x-api-key`

Generates a new signing secret, effective immediately (retries already queued are signed with it too), and returns it.

## Path parameters

- `id` integer, required

## Headers

- `X-Team-ID` integer

## Response `200`

The new secret.

- object
  - `success` unknown
  - `data` object
    - `secret` string

## Other responses

- `401`: The API key is missing, invalid, revoked or expired.
- `404`: No such resource, or it does not belong to the caller.
- `429`: Too many requests for this endpoint group.

---

[API](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api.md) · [All operations](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/llms.txt) · [OpenAPI document](https://skmtc.dev/multi-upload-tool/apis/multi-upload-tool-api/revisions/bb7e72abbb76?raw)
