---
search:
  tags:
    - Webhooks
    - POST
seo:
  description: >-
    Issues a new signing secret while the previous one… Reference for the POST
    /webhook-endpoints/{endpoint_id}/rotate-secret endpoint in the AI Inbx API
    API.
sidebar:
  label: Rotate a webhook signing secret
  badge: POST
title: Rotate a webhook signing secret
type: openapi-operation
---
Issues a new signing secret while the previous one keeps verifying for `grace_seconds`, so a deployment can roll over without dropping events. Set the grace period to 0 only when a secret has leaked and the exposure matters more than the gap.

<Operation source="api-endpoints" id="rotate-webhook-secret" />
