# Reset a Webhook Secret

Reset the secret for a webhook subscription by ID and return the new secret once.

Endpoint: POST /webhooks/{id}/reset-secret
Version: 1.0.0
Security: api_key

## Security:

  - `api_key` (unknown)
    apiKey in header x-api-key

## Path parameters:

  - `id` (string, required)
    Unique identifier of the webhook for which to reset the secret

## Header parameters:

  - `x-managed-company-id` (string)
    Optional: the ID of the managed company on behalf of which the request is made

## Response 200 fields (application/json):

  - `secret` (string, required)
    New secret key for the webhook. You should store this securely and not expose it publicly.

## Response 404:

  - `404` (unknown)
    Webhook with the specified ID not found

