Okapi Okapi

POST /api/v2/{}/webhooks* → endpoint removal

Moneybird API

Stopped working

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.


Calls it hits

  • POST /api/v2/{}/webhooks*
  • body parameter events

What to use instead of these calls

Send enabled_events instead of events when creating a webhook.

In 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.

Moneybird API, Announcement

Facts

API
Moneybird API moneybird.com
Kind
Endpoint removal
Announced
September 30, 2024
Takes effect
January 1, 2025
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Moneybird API's own pages

Questions

When does this change take effect?

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

What happens to calls after January 1, 2025?

They have failed since January 1, 2025.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from Moneybird API 4

  1. No date DELETE /api/v2/{}/purchase_transactions/{}/delete*Endpoint removal Deprecated, no date
  2. No date GET /api/v2/{}/import_mappings/*Endpoint removal Deprecated, no date
  3. No date GET /api/v2/{}/reports/ledger_accounts/{}*Endpoint removal Deprecated, no date
  4. No date GET /api/v2/{}/subscription_templates/{}/checkout_identifier*Endpoint removal Deprecated, no date

You fixed this one by hand.

Okapi opens the pull request with the fix before the next breaking change reaches your code.

Add to GitHub