Python Quickstart
This quickstart demonstrates how to send messages from a Python application.
INFO
Python 3.7 or later is required.
- Make sure you have the latest version of Python installed.
- Sign up for Courier to get access to your API key.
- Add the channel(s) you wish to send your message to.
- Run
pip install trycourier
orpoetry add trycourier
to install the Courier Python SDK. - Use the
Courier
class to access all of our endpoints. - Add the following code and replace
<YOUR_TOKEN>
with your Courier API key:
Explore how to customize your notification with more properties
- Run your code. Upon running this API call, only a requestId will be returned.
- Monitor the status of your notification (once sent) in the logs: https://app.courier.com/logs
FAQs
Questions?
Join our developer community on Discord and ask questions in the #ask-support channel.