---
title: "Rotate Hook"
method: POST
path: "/dashboard/pretrade-hooks/{hook_id}/rotate-secret"
tags: ["dashboard-ai-agents"]
---

# Rotate Hook

`POST /dashboard/pretrade-hooks/{hook_id}/rotate-secret`

## Request

- Base URL: `https://api.tickwire.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tickwire.io/dashboard/pretrade-hooks/{hook_id}/rotate-secret`
- Auth: none declared

New secret, shown once; the old one stops working at once.

## Path parameters

- `hook_id` string, required

## Headers

- `X-Reason` string, nullable
- `Authorization` string, nullable
- `X-Tickwire-CSRF` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tickwire/apis/tickwire-control-plane.md) · [All operations](https://skmtc.dev/tickwire/apis/tickwire-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/tickwire/apis/tickwire-control-plane/revisions/a4d1386fa23e?raw)
