---
title: "POST /api/apps/{id}/secret/refresh"
method: POST
path: "/api/apps/{id}/secret/refresh"
tags: ["apps", "webhooks"]
---

# POST /api/apps/{id}/secret/refresh

`POST /api/apps/{id}/secret/refresh`

Refresh an app secret

## Path parameters

- `id` string, uuid, required

## Response `200`

Secret refreshed successfully

- object
  - `secret` string, required — Masked app secret

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `404` — App not found
- `500` — Internal server error

---

[API](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api.md) · [All operations](https://skmtc.net/ethcomments/apis/ethereum-comments-protocol-indexer-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ethcomments/ethereum-comments-protocol-indexer-api/versions/9627e9d1ff21/schema)
