---
title: "Set or rotate a site's settlement webhook URL+secret (secret shown once)"
method: POST
path: "/v2/internal/sites/webhook"
---

# Set or rotate a site's settlement webhook URL+secret (secret shown once)

`POST /v2/internal/sites/webhook`

## Request

- Base URL: `https://t3rnel-wavepay-production.t3ratech.workers.dev`
- URL: `https://t3rnel-wavepay-production.t3ratech.workers.dev/v2/internal/sites/webhook`
- Auth: API key in header `x-wavepay-service-key`

## Response `200`

{ webhookUrl, secret }

---

[API](https://skmtc.dev/t3ratech/apis/wavepay-public-api.md) · [All operations](https://skmtc.dev/t3ratech/apis/wavepay-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/t3ratech/apis/wavepay-public-api/revisions/0510400e9fb8?raw)
