Okapi Okapi

Novu API POST /v1/subscribers/{id}/messages/mark-all endpoint removal

Deprecated, no dateSubscribe to Novu APIShare

The POST /v1/subscribers/{id}/messages/mark-all endpoint has been deprecated without a shutdown date, and calls to it fail. This change impacts requests intended to update subscriber in-app notification states under the v1 path. Developers must switch away from this route to maintain notification updates.


Calls it hits

  • POST /v1/subscribers/{id}/messages/mark-all

What to use instead of these calls

Mark all notifications using POST /v2/subscribers/{subscriberId}/notifications/read, or use the /seen or /archive variants.

In Novu API's words

This API is deprecated, use v2 API instead. Update all subscriber in-app notifications state

Novu API, Announcement

Facts

API
Novu API api.novu.co
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against Novu API's own pages

Questions

When does this change take effect?

Novu API deprecated POST /v1/subscribers/{id}/messages/mark-all without giving a shutdown date yet.

Do these calls still work?

Yes, they still work: Novu API has not given a shutdown date yet.

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 Novu API 5

  1. No date GET /v1/subscribers/{id}/notifications/feedEndpoint removal Deprecated, no date
  2. No date GET /v1/subscribers/{id}/notifications/unseenEndpoint removal Deprecated, no date
  3. No date POST /v1/integrations/chat/oauthEndpoint removal Deprecated, no date
  4. No date POST /v1/subscribers/{id}/messages/{id}/actions/{id}Endpoint removal Deprecated, no date
  5. No date POST /v1/subscribers/{id}/messages/mark-asEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to Novu API

Hear about each breaking change Novu API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • Novu API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.