Installation
Install the Sendly SDK using npm, yarn, or pnpm:Basic setup
1. Get your API key
- Go to app.usesendly.com
- Sign in to your account
- Open Settings → API Keys
- Copy your API key
2. Initialize the client
Your first email
Key concepts
Sending domains
Before sending email, you need to verify a domain:Delivery tracking
You can track the status of your emails:Error handling
Always wrap your calls in try/catch:Next steps
Send emails
Learn all sending options.
Webhooks
Receive event notifications.
Best practices
Improve your delivery rate.
Full reference
Explore the complete API.