> For the complete documentation index, see [llms.txt](https://docs.korewireless.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.korewireless.com/developers/how-to/webhooks/rotate-my-webhook-secret.md).

# Rotate my Webhook Secret

KORE signs every event it sends with the current `Active` secret key, which there is only ever one of. Rotating a secret allows you to invalidate your old one and have KORE use a new one to sign. You may want to do this because you lost your old secret or your old secret was compromised.

If you wish to rotate your secret, you can create a new secret and mark it as `Active`.

First, navigate to the **Webhook** dashboard and click **Create** to create a new secret.&#x20;

<figure><img src="/files/XYm9IUsHY0mD7sVMaewR" alt=""><figcaption></figcaption></figure>

This will create a secret with `Pending` status.

<figure><img src="/files/4LinR7enXLKZtW3hmry2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
The first secret you create will be created in an `Active` state.&#x20;

Any new secret created afterwards will be`Pending`, which you can mark as `Active` when ready.&#x20;

Any additional secrets created will overwrite the previous `Pending` secret, if one exists.
{% endhint %}

To rotate the current `Active` secret, click on the **Activate** button. This will disable the current `Active` secret and mark the `Pending` secret as `Active`.

{% hint style="danger" %}
**Rotating a secret cannot be undone.**

When rotating, ensure you are prepared to receive the new `Active` secret in your implementation. Otherwise, all validations will begin to fail, as KORE will no longer be using old secrets.
{% endhint %}

<figure><img src="/files/AEToVwlFgWCDwZi6DrR1" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/VwULn6mNZqReueW5VmHz" alt=""><figcaption><p>Rotate the secret</p></figcaption></figure>

<figure><img src="/files/BKbGNgYL45J0i5L5psY3" alt=""><figcaption><p>Pending became active</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.korewireless.com/developers/how-to/webhooks/rotate-my-webhook-secret.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
