Skip to content

[Feature Request] Allow archive notification via API #78

@AndreMaz

Description

@AndreMaz

At the moment it's not possible to archive the notification via API.

Docs: https://docs.novu.co/api-reference/subscribers/update-notifications-state

Only available states are "read" | "seen" | "unread" | "unseen".

However, the useNotifications() hook allows this via archive() method. Docs: https://docs.novu.co/platform/sdks/react/hooks/use-notifications

Ideally, I would like to have same feature parity in @novu/api.

  • I would like to use novu.subscribers.notifications.feed() (or something similar) and get the same data structure as in useNotifications() hook
  • Have an endpoint where I can archive, snooze and etc. a notification

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions