I'm currently working on implementing a "notifications history" feature for a mobile app. Essentially, I need to create an endpoint that allows the client to view a list of all push notifications sent to their device or user.
After reviewing the API documentation, it appears that there isn't a pre-built solution for this specific feature. My plan is to utilize reporting webhooks to store the title and body of the push notifications in a database hosted on our own infrastructure. By doing so, I can retrieve this data from the database when needed.
I wanted to confirm if this approach aligns with the recommended best practices, or if there is a more straightforward solution that I might have overlooked. Any guidance or suggestions would be greatly appreciated.
Best answer by PennyView original