---
title: "Reveal the Self-Hosted signing secret"
method: GET
path: "/api/v1/self-hosted/secret"
tags: ["selfHosted"]
---

# Reveal the Self-Hosted signing secret

`GET /api/v1/self-hosted/secret`

Returns the full HMAC signing secret for copying. Each mode has its own secret, minted when you first set that mode's `wsUrl`. Use `mode` to pick which; defaults to the active mode.

## Query parameters

- `mode` 'llm' | 'audio'

## Headers

- `Authorization` string, required

## Response `200`

The signing secret.

- SelfHostedRevealSelfHostedSecretResponse200
  - `secret` string, required — The HMAC signing secret used to verify `X-Dial-Signature`.

## Other responses

- `401` — Missing or invalid API key.
- `404` — The requested resource was not found on this account.

---

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