---
title: "Rotate webhook secret"
method: POST
path: "/v1/apps/{id}/webhook-config/rotate-secret"
tags: ["Workspace API - Apps"]
---

# Rotate webhook secret

`POST /v1/apps/{id}/webhook-config/rotate-secret`

Generate a new webhook secret for an application

## Path parameters

- `id` string, required

## Response `200`

Webhook secret rotated successfully

- object
  - `secret` string

## Other responses

- `401` — Invalid API key
- `404` — App not found

---

[API](https://skmtc.net/hopae/apis/hconnect-api.md) · [All operations](https://skmtc.net/hopae/apis/hconnect-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hopae/hconnect-api/revisions/ed6e97ac6f2f/schema)
