---
title: "View webhook secret"
method: GET
path: "/webhook/v3/secret/{id}"
tags: ["Webhook Service"]
---

# View webhook secret

`GET /webhook/v3/secret/{id}`

Returns the webhook secret to be used in validating legacy webhooks for the specified merchant ID or payout account ID. To create a secret, use the [/webhook/v3/secret](https://docs.nexiopay.com/reference/createwebhooksecret) endpoint.

For a tutorial about verifying the signature, see [Receiving legacy webhooks](https://docs.nexiopay.com/docs/receiving-legacy-webhooks) in Guides.

<!-- theme: info -->
> 📘 Note
>
> For the current workflow, see the [Register webhook URLs](https://docs.nexiopay.com/reference/registerwebhookurls) endpoint instead.

<!-- theme: warning -->
> ⚠️ Try It
> 
> To use the Try It feature for this endpoint, you must use the credentials for your [Sandbox API user](https://docs.nexiopay.com/docs/sandbox-environments).


<div style="display:none;">

## Request parameters
- id

## Response parameters
- secret

</div>

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `secret` Secret — unresolved $ref

## Other responses

- `401` — Unauthorized. For help with this error and other error codes, see [Common errors](https://docs.nexiopay.com/docs/common-errors) in the Guides area.

---

[API](https://skmtc.dev/nexiopay/apis/payments-api-reference.md) · [All operations](https://skmtc.dev/nexiopay/apis/payments-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nexiopay/payments-api-reference/revisions/b414b73979e5/schema)
