# rotate_webhook_secret (/reference/webhooks/rotate-webhook-secret)



## POST https://api.finic.ai/v1/webhook_endpoints/{id}/rotate_secret

Makes a new signing secret (an admin's key), shown only in this response. For 24 hours, deliveries are signed with the old secret too.

Authorization: `Bearer <API key>` (see [Authentication](/authentication)).

### Responses

- **200**: The endpoint, with its new secret.

- **401**: `authentication_error`: the API key is missing, unknown, revoked or expired.

- **403**: `permission_denied`: this needs an API key an admin of the organization created.

- **404**: `<record>_not_found`, such as `business_not_found`: no such record in your organization.
