> ## Documentation Index
> Fetch the complete documentation index at: https://redo-44af351d-docs-v3-graphql-api-reference.mintlify.site/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: "...")
}
```
