# events on POST /api/v2/{}/webhooks stops working

Calls to POST /api/v2/{}/webhooks*, body parameter events on Moneybird API stopped working on January 1, 2025.

On January 1, 2025, the body parameter events was removed from POST /api/v2/{}/webhooks*. Calls including this parameter fail and are no longer accepted.

## What to use instead

Send enabled_events instead of events when creating a webhook.

- API: Moneybird API (moneybird.com)
- Kind: Endpoint removal
- Announced: September 30, 2024
- Takes effect: January 1, 2025
- Calls after that day: fail
- Calls it hits: `POST /api/v2/{}/webhooks*`, `body parameter events`
- Source: [Announcement](https://developer.moneybird.com/changelog/2024-09-30)
- Verified: October 26, 2026, against Moneybird API's own pages
- Page: https://www.okapi.bot/providers/moneybird-api/breaking-changes/events-on-post-api-v2-webhooks-stops-working/

## Moneybird API's words

> The events attribute on webhook entities is considered deprecated and is replaced by enabled_events , starting January 1st 2025 events will be removed and will no longer be accepted.

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
