---
title: "Register or update a merchant webhook URL"
method: POST
path: "/api/v1/webhooks"
tags: ["Webhook"]
---

# Register or update a merchant webhook URL

`POST /api/v1/webhooks`

Register or update a merchant webhook URL

## Request body

- WebhookInput — Webhook configuration input
  - `merchant_id` string, uuid — Merchant ID. Defaults to the logged-in merchant if not provided. Required for admin tokens.
  - `webhook_url` string, uri, required — The URL where webhook notifications will be sent

## Response `200`

Success

- WebhookResponse
  - `success` boolean, required — Indicates if the request was successful
  - `data` object, required — Webhook configuration
    - `webhook_url` string, uri — The URL where webhook notifications will be sent
    - `message` string — Success message

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

## Changes

- **2026-06-16** `b372e7d5563d` — 1 breaking, 1 warning, 3 info
  - the `error/code` response's property type/format changed from `string`/`` to ``/`` for status `400`
  - removed the optional property `error/errors` from the response with the `400` status
  - added the new optional request property `merchant_id`
  - added the optional property `error/metadata` to the response with the `400` status
  - …1 more
- **2025-11-03** `6637b341d86d` — 1 info
  - endpoint added
- **2025-11-02** `919eb7a392aa` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/banqzinc/apis/quidkey-api/changes/api/v1/webhooks/post.md)

---

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