Most Popular
Courier makes it easy to send SMS, email, push and in-app notifications with a single API call. We have a REST API, client SDKs and Docs that you'll love 💜
Sign-up
📣 Join the conversation on Product Hunt where we're discussing this groundbreaking launch and the future of in-app notifications.
A notification center inside of web and mobile apps is now an expectation. It’s a way to reach specific audiences or users with tailored messages and a way to boost engagement by bringing people back into the app.
While Courier has been adding Inbox capabilities over the last couple years, we’re excited to announce a complete set of SDKs that span web and mobile. You can drop in a full-featured inbox to give your users a best-in-class notification center inside your app that works seamlessly with your existing notification flows.
Here are just a few features of Courier Inbox:
To see the full set of features for Courier Inbox, head to the docs. Or, if you’d like to see an example of what you can build with Courier, check out our Instagram-inspired IOS app, Puppygram or see how inbox is used at LaunchDarkly, DroneDeploy, and Oyster HR.
Previously, it was only feasible for large engineering teams to pull off a full-fledged notification inbox. Smaller teams often found themselves strained by the sheer scope of the project. Besides the engineering challenges, the design and user interface for the notification inbox also required thoughtful attention. Even though standard patterns exist in popular apps, like Instagram and Amazon, there's pressure to deliver a user-friendly experience that’s on-brand and doesn’t compromise the aesthetic integrity of the overall application.
This was an important driver for Courier Inbox. We wanted to make sure we offered complete SDKs for web, Android and IOS, where a developer has access to the development tools and UI components so that the frontend is as well designed as the backend. Courier also offers customizable branding design options, to match your inbox to your application's look and feel.
Whether you're looking for a fully hosted implementation that requires minimal configuration or a composable, headless offering that you can tailor to your specific needs, Courier has got you covered.
As a leader in drone mapping software, DroneDeploy offers services that capture interior and exterior visual data of a construction project or other environment, managing drone fleets for site documentation and analysis.
With Courier, we added a beautiful inbox and in-app push notifications in a matter of weeks. We used the great looking pre-built component to save even more time. Notifications are not our core competency, so it made complete sense to integrate rather than build out and support our own implementation.
James Pipe, VP of Product, DroneDeploy
DroneDeploy has integrated Courier's inbox into their web application as a notification center. This has significantly improved customer communications, providing timely updates and important information to clients directly within the app.
Top notifications sent through their inbox include status updates when new maps, walkthroughs, or progress videos are uploaded, and edit access is requested/approved/declined.
LaunchDarkly offers a feature management platform to developers and DevOps engineers. The platform offers multivariate feature flags, which enables A/B testing and the ability to incrementally roll out new features.
We were able to build the in-app notification experience that we wanted with excellent support and communication from the Courier staff.
Lucy Wonsower, Software Engineer, LaunchDarkly
LaunchDarkly uses Courier's inbox for:
Another organization that has reaped significant benefits from Courier's notification inbox is Oyster HR. As a global employment platform, Oyster HR enables businesses to hire, pay, and manage employees from across the world without the need to set up business entities in each country.
Using Courier Inbox, Oyster saved 4 engineers 3 months of work from not having to construct a notification infrastructure, design a UI, and develop them to spec. But the most important benefit is that as Oyster scales, we won't need to hire additional engineers solely to manage our notification framework as the volume grows.
Amy Weinrieb, Senior Product Manager, Oyster HR
One of the standout features of Courier's notification inbox is its simplicity of integration. Whether it's a mobile or a web application, a few lines of code are all you need to embed a fully functional notification inbox into your application.
Here we have examples for adding an inbox to your web, IOS, and Android applications.
For web applications, you can use either the Courier React SDK or the vanilla JavaScript SDK. Here is a simple React example to illustrate this process.
1//App.js2import { CourierProvider } from "@trycourier/react-provider";3import { Inbox } from "@trycourier/react-inbox";45function App() {6// Replace 'yourUserId' and 'YOUR_CLIENT_KEY' with your own details7const userId = 'yourUserId';8const clientKey = 'YOUR_CLIENT_KEY';910return (11<CourierProvider userId={userId} clientKey={clientKey}>12<Inbox />13</CourierProvider>14);15}
The above code is all it takes to integrate Courier's notification inbox into your React application. You just need to import CourierProvider and Inbox from @trycourier/react-provider and @trycourier/react-inbox respectively. Then, you set the userId and clientKey within the CourierProvider, and place the Inbox component within it. Look at the README on GitHub if you need more information.
The userId and clientKey are crucial for Courier to know who's using the inbox and to ensure the proper messages are displayed. The clientKey is a public-facing key that can be found by navigating to "Settings > API keys" in the Courier app.
The snippet uses the basic authentication provided by Courier. However, for enhanced security, it is recommended to use JWT Authentication. The complete guide to set up JWT Authentication can be found here.
Here is an example for an iOS application written in Swift:
1import Courier_iOS23// Create the view4let courierInbox = CourierInbox(5didClickInboxMessageAtIndex: { message, index in6message.isRead ? message.markAsRead() : message.markAsUnread()7print(index, message)8},9didClickInboxActionForMessageAtIndex: { action, message, index in10print(action, message, index)11},12didScrollInbox: { scrollView in13print(scrollView.contentOffset.y)14}15)1617// Add the view to your UI18courierInbox.translatesAutoresizingMaskIntoConstraints = false19view.addSubview(courierInbox)2021// Constrain the view how you'd like22NSLayoutConstraint.activate([23courierInbox.topAnchor.constraint(equalTo: view.topAnchor),24courierInbox.bottomAnchor.constraint(equalTo: view.bottomAnchor),25courierInbox.leadingAnchor.constraint(equalTo: view.leadingAnchor),26courierInbox.trailingAnchor.constraint(equalTo: view.trailingAnchor),27])2829Task {30try await Courier.shared.signIn(31accessToken: "pk_prod_H12...",32clientKey: "YWQxN...",33userId: "example_user_id"34)35}
This approach exemplifies the ”drop-in” method. You begin by importing the Courier_iOS package, add the view to your app, then sign in to your Courier account using your access token, client key, and user ID. The CourierInbox, for UIKit, and the CourierInboxView for SwiftUI, is then placed in your app how you’d like and, instantly embedding the notification inbox into your application with minimal effort. It's a quick and efficient way to get started, allowing developers to focus on building the core aspects of their app. This way, you can offer a powerful notification inbox to your users without spending significant time on implementation — and, more importantly, without compromising on the feature set.
For those interested in Android, here is the default inbox example for you.
1val inbox: CourierInbox = view.findViewById(R.id.courierInbox)23inbox.setOnClickMessageListener { message, index ->4if (message.isRead) message.markAsRead() else message.markAsUnread()5Courier.log(message.toString())6}78inbox.setOnClickActionListener { action, message, index ->9Courier.log(action.toString())10}1112lifecycleScope.launch {13Courier.shared.signIn(14accessToken = "pk_prod_H12...",15clientKey = "YWQxN...",16userId = "example_user_id"17)18}
This code snippet showcases the power of the Courier library in Android development, demonstrating the ability to log, mark messages as read or unread, and capture actions.
But what if you need more control over your notification inbox's appearance and behavior? Courier also offers a headless option. This approach allows developers to customize every aspect of their inbox, tailoring it to meet specific design or functional requirements. You have the flexibility to change everything from the overall layout and individual components to the styling of each notification card. This way, Courier ensures that developers can create an inbox that not only fits their needs but also aligns perfectly with their application's UI and UX.
Whether you’re working on web or mobile app development, Courier provides a comprehensive, flexible, and easily integrable solution to ensure your users are always in the know and keep coming back to your app.
It’s free to try. You can send 10,000 messages every month for no cost as you get to know the ins and outs of what’s possible with Inbox. To help you get started, we suggest exploring the detailed guides for each platform: iOS, Android, and web. These comprehensive guides provide step-by-step instructions and code examples to guide you through the integration process.
Don't forget, Courier also provides seamless integration with push notifications. We've previously covered how to set up push notifications with Courier. By combining these two powerful features, you can provide a complete, personalized notification experience to your users.
Remember, providing a top-notch notification experience to your users doesn't have to be a daunting task. If you want to build a custom notification inbox that is not only user-friendly and efficient but also easily integrable across platforms, start your notifications journey with Courier today!
Courier makes it easy to send SMS, email, push and in-app notifications with a single API call. We have a REST API, client SDKs and Docs that you'll love 💜
Sign-up
Controlling notification send limits in Courier
Send limits are a new addition to the Courier app that allow you to manage notification rate limits. This means you can set a maximum limit on the number of notifications you can send over a certain time period. The advantages of using send limits are twofold: you can save money by imposing spending caps on notifications, and you can improve the customer experience of your app by avoiding bombarding users with too many notifications at once. Send limits can be applied in a variety of ways, including system-wide notification limits, as well as specific limits for individual users or notification topics. For instance, you can set an overall limit of 200,000 notifications per week. This article will explore the various types of notification rate limits available, explain when send limits are useful, and provide guidance on how to set them up.
Jason Axtell
May 16, 2023
Courier One-Time Send is here — for everybody
One-Time Send is a powerful feature designed to simplify and expedite the process of sending one-time notifications through Courier. It's one piece of a [web app redesign](https://www.courier.com/blog/designing-the-future-of-courier/) that we started recently (dark mode shown coming soon). Based on invaluable feedback from our customers during the closed beta, we have refined and improved One-Time Send to make it even more efficient and user friendly.
Denis Tatar
May 04, 2023
Free Tools
Comparison Guides
Send up to 10,000 notifications every month, for free.
Get started for free
Send up to 10,000 notifications every month, for free.
Get started for free
© 2024 Courier. All rights reserved.