Is it possible to delete or otherwise cancel a notification via the API?

Hi - I’m trying to evaluate whether the API supports removal/deletion of a notification.

Assuming a reddit-type web application with comments and replies, the user flow is:

  1. User A creates a post
  2. User B creates a reply to that post
  3. A notification is queued to send to user A indicating them of the reply
  4. User B deletes the reply
  5. The notification to user A is cancelled.

I’ve been unable to determine if step 5 is supported by Courier.

Thank you!

Hi there @shane :wave: - Thanks for reaching out!

Courier does not currently support notification deletion via an API. Our team is currently working on a Digests and Batching feature that would complement our Automations. Here you would be able to batch events into a single notification. Courier Automations has a cancel mechanism where you can cancel an automation run. Canceling an invoked send request in the middle of the message lifecycle would fall under a feature request.

1 Like

One more thing I forgot to mention was that we have an archive endpoint that can be used for Courier in-app components like Courier Inbox. Not sure if this would apply to your particular use case, but please feel free to share what particular type of notifications you’re trying to send. Cheers!