> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# rotateWebhookEndpointSecret

> Stage a new (pending) signing secret. Returns it once; add it to your receiver, then call activateWebhookEndpointSecret.

**Required scopes:** [`webhooks_write`](/docs/api-reference/v3/reference/scopes#scope-webhooks_write)

## Arguments

<ResponseField name="id" type="ID!" required />

## Returns

<ResponseField name="rotateWebhookEndpointSecret" type="String" />

## Example

```graphql theme={null}
mutation {
  rotateWebhookEndpointSecret(id: "...")
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.