---
title: "Changes to Create new webhook"
method: POST
path: "/v1/webhook"
---

# Changes to Create new webhook

`POST /v1/webhook`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 3 of 13 revisions.

- **2025-04-10** `c08d1ac8dcab` — 1 breaking
- **2023-05-18** `985d887f3aff` — 1 breaking, 1 info
- **2022-10-28** `f2c3e257ae9d` — 2 warning, 2 info

## Changes

- **2025-04-10** `c08d1ac8dcab` — 1 breaking
  - the `gateway_account_id` request property's minLength was increased from `0` to `1`
- **2023-05-18** `985d887f3aff` — 1 breaking, 1 info
  - added the new required request property `gateway_account_id`
  - added the optional property `gateway_account_id` to the response with the `200` status
- **2022-10-28** `f2c3e257ae9d` — 2 warning, 2 info
  - added the new `card_payment_expired` enum value to the `subscriptions/items/` response property for the response status `200`
  - added the new `card_payment_failed` enum value to the `subscriptions/items/` response property for the response status `200`
  - added the new `card_payment_expired` enum value to the request property `subscriptions/items/`
  - added the new `card_payment_failed` enum value to the request property `subscriptions/items/`

---

[Operation](https://skmtc.dev/government-digital-service/apis/webhooks-api/docs/v1/webhook/post.md) · [API](https://skmtc.dev/government-digital-service/apis/webhooks-api.md) · [Page](https://skmtc.dev/government-digital-service/apis/webhooks-api/changes/v1/webhook/post)
