Skip to main content

๐Ÿš€ 5-Minute Quick Start Guide

Get from zero to your first SMS in under 5 minutes with Sendly - the "Resend of SMS".

๐ŸŽฏ What You'll Accomplish
  • โœ… Send your first SMS in under 5 minutes
  • โœ… Understand smart routing (automatic optimal number selection)
  • โœ… Set up webhook delivery notifications
  • โœ… Learn about international messaging
  • โœ… Explore MMS capabilities

๐Ÿ“‹ Prerequisitesโ€‹

Before we start, make sure you have:

  • ๐Ÿ”‘ A Sendly account (sign up here)
  • ๐Ÿ“ฑ A valid phone number to test with (your own works great!)
  • ๐Ÿ’ป Terminal or code editor ready
โฑ๏ธ Time Estimate

This guide takes less than 5 minutes to complete. Each step is timed for your convenience!


Step 1: Get Your API Key 30 secondsโ€‹

1. Sign Upโ€‹

Visit sendly.live and create your free account.

2. Dashboardโ€‹

Log in and navigate to the API Keys section.

3. Create Keyโ€‹

Click "Create API Key" or copy your existing one.

4. Copy Keyโ€‹

Your API key format: sl_live_ or sl_test_ + 40 characters

Example API Key Format
sl_live_V4iD8is9kqZYdIdzRBIypJ2IascwSi0_
๐Ÿ”’ Keep Your API Key Secret

Never expose your API key in client-side code or public repositories. Use environment variables!


Step 2: Send Your First SMS 2 minutesโ€‹

Choose your preferred method to send your first SMS:

Perfect for quick testing and getting familiar with our API.

Send SMS with cURL
# Set your API key (replace with your actual key)
export SENDLY_API_KEY="sl_live_YOUR_API_KEY"

# Send your first SMS
curl -X POST https://sendly.live/api/v1/send \
-H "Authorization: Bearer $SENDLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "+1234567890",
"text": "Hello from Sendly! ๐Ÿš€ This is my first SMS."
}'

Expected Response:

{
"messageId": "msg_2cY8vH8LkQx3J5oP",
"status": "queued",
"from": "+18005551234",
"to": "+1234567890",
"text": "Hello from Sendly! ๐Ÿš€ This is my first SMS.",
"routing": {
"numberType": "toll-free",
"coverage": "high",
"reason": "smart-routing"
},
"cost": {
"amount": 0.0075,
"currency": "USD"
}
}
๐Ÿงช Test Mode

Use API keys starting with sl_test_ for testing. No SMS will be sent and no charges apply!


Step 3: Understanding Smart Routing 1 minuteโ€‹

Notice the routing object in your response? That's Sendly's Smart Routing in action!

๐Ÿ‡บ๐Ÿ‡ธ US/Canadaโ€‹

Auto-selected: Toll-free numbers
Benefits: Higher delivery rates, professional appearance
Cost: $0.0075 per SMS

๐Ÿ‡ฌ๐Ÿ‡ง United Kingdomโ€‹

Auto-selected: Local UK numbers
Benefits: Better local delivery, lower costs
Cost: $0.045 per SMS

๐Ÿ‡จ๐Ÿ‡ณ Chinaโ€‹

Auto-selected: Compliant local routing
Benefits: Regulatory compliance, reliable delivery
Cost: $0.065 per SMS

๐ŸŒ 200+ Countriesโ€‹

Auto-selected: Optimal local numbers
Benefits: Global coverage, smart routing
Cost: Varies by destination

Message Types for Better Routing:

  • transactional - Order confirmations, receipts (highest priority)
  • otp - Verification codes, 2FA (high priority)
  • marketing - Promotional messages (standard routing)
  • alert - System alerts, emergencies (priority routing)

Step 4: Add Webhooks (Optional) 1 minuteโ€‹

Get real-time delivery notifications:

Add webhook to your SMS
const result = await sendly.sms.send({
to: '+1234567890',
text: 'Hello with webhook!',
webhookUrl: 'https://your-app.com/webhook/sms'
});

Webhook Events:

  • message.queued - Message accepted and queued
  • message.sent - Message sent to carrier
  • message.delivered - Message delivered to device
  • message.failed - Message delivery failed

๐ŸŽ‰ Congratulations!โ€‹

You've successfully sent your first SMS with Sendly! Here's what you've learned:

โœ… API Integration
Successfully called the Sendly API and sent an SMS

๐ŸŽฏ Smart Routing
Experienced automatic optimal number selection

๐Ÿ“Š Response Data
Learned about message IDs, routing info, and costs

๐Ÿ”— Webhooks
Understood real-time delivery notifications

๐Ÿš€ What's Next?โ€‹

๐Ÿ“– Explore Our SDKsโ€‹

๐ŸŽฎ Try Interactive Docsโ€‹

๐Ÿ“š Learn Advanced Featuresโ€‹

๐Ÿ”ง Integrate & Buildโ€‹


๐Ÿ’ก Need Help?
  • ๐Ÿ’ฌ Discord Community - Join discord.gg/sendly for real-time support
  • ๐Ÿ“ง Email Support - Reach out to support@sendly.live
  • ๐Ÿ“– Documentation - Browse our comprehensive guides and API reference
  • ๐Ÿ› Issues - Report bugs on GitHub

Ready for Production? ๐Ÿš€โ€‹

Upgrade to a live API key and start sending real SMS messages to your users.

Get Live API Key โ€ข View Pricing โ€ข Contact Sales