Getting Started
Courier Quickstart Guide
This quickstart demonstrates how to send messages from applications using various programming languages.
Prerequisites
- Sign-up for a Courier Account and Workspace
- Add an integration.
- Make sure you have installed the latest version of your preferred programming language
- Install the Courier SDK for your language
Installation
Initialize the SDK
First, import the Courier client and initialize it with your authorization token:
Send a Message
Here’s how to send a basic notification message:
Message Properties
The message object contains these main properties:
to
: Identifies the recipient (email address, phone number, etc.)content
: The notification’s title and bodydata
: Variables to populate message templatesrouting
: Controls which channel(s) deliver the message
The API call returns a request ID:
Monitor notification status in the logs.
Questions? Join Our Community!
Connect with our team and other developers in our Discord Community