---
title: "Register a url to a user for webhook notifications"
method: POST
path: "/webhook"
tags: ["Webhooks"]
---

# Register a url to a user for webhook notifications

`POST /webhook`

Register a url to a user for webhook notifications

## Request body

- WebhookUrlBody
  - `url` string, required — Webhook URL

## Response `200`

Webhook details

- WebhookResponse
  - `email` string, required — Email
  - `url` string, required — Webhook URL

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/treasuryspring/apis/treasuryspring-public-api.md) · [All operations](https://skmtc.net/treasuryspring/apis/treasuryspring-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treasuryspring/treasuryspring-public-api/versions/d587dda25444/schema)
