---
title: "Reveal Webhook Secret"
method: POST
path: "/v1/webhooks/{webhook_id}/reveal"
tags: ["Webhooks"]
---

# Reveal Webhook Secret

`POST /v1/webhooks/{webhook_id}/reveal`

Reveals the secret of a webhook.

## Path parameters

- `webhook_id` string, required

## Response `200`

Successful Response

- WebhookRevealed
  - `events` WebhookEventType[], required — The list of events that trigger the webhook.
  - `url` string, required — The URL where the webhook will be sent.
  - `description` string, nullable — The description of a webhook.
  - `method` 'GET' | 'POST', required — An enumeration.
  - `enabled` boolean — The enabled status of the webhook.
  - `enabled_logs` boolean — The enabled logs of the webhook.
  - `player_context_enabled` boolean, nullable — Enable send player attributes in context
  - `batch_mode` boolean, nullable — Enable batch delivery [mode](https://docs.aghanim.com/webhooks/batching).
  - `id` string, required — The unique identifier of the webhook.
  - `game_id` string, required — The unique identifier of the game.
  - `secret` string, required — The secret used to sign the webhook.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api.md) · [All operations](https://skmtc.net/aghanim/apis/aghanim-server-to-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aghanim/aghanim-server-to-server-api/versions/0c1b4ac1865b/schema)
