Messaging Channels
YeboLink supports multiple messaging channels: SMS, WhatsApp, Email, and Voice.
Channel Overview
| Channel | Cost | Max Length | Use Case | Delivery Speed |
|---|---|---|---|---|
| SMS | 1 credit | 1600 chars | Quick notifications, OTPs | Instant |
| 0.5 credits | Varies | Rich media, customer support | Instant | |
| 0.1 credits | Unlimited | Marketing, receipts, documents | 1-5 minutes | |
| Voice | 2 credits/min | N/A | Important alerts, verification | Instant |
SMS
Perfect for time-sensitive notifications and global reach.
Features:
- 160 characters per segment (GSM-7)
- 70 characters per segment (Unicode)
- Global delivery to 200+ countries
- 98% open rate within 3 minutes
Example:
await sendMessage({
to: '+1234567890',
channel: 'sms',
content: {
text: 'Your verification code is 123456'
}
});Learn more about sending SMS →
WhatsApp (Coming Soon)
Rich messaging with media support and business features.
Features:
- Send text, images, videos, documents
- Interactive buttons and lists
- Message templates for notifications
- Two-way conversations
- Read receipts
Example:
await sendMessage({
to: '+1234567890',
channel: 'whatsapp',
content: {
text: 'Your order has shipped!',
media_url: 'https://example.com/tracking-image.jpg'
}
});Coming Soon
WhatsApp integration is currently in development. Contact support@yebolink.app to join the beta program.
Email (Coming Soon)
Transactional and marketing emails with HTML support.
Features:
- HTML and plain text
- Attachments
- CC and BCC support
- Email templates
- Link tracking
- Open and click analytics
Example:
await sendMessage({
to: 'user@example.com',
channel: 'email',
content: {
subject: 'Welcome to YeboLink!',
html: '<h1>Welcome!</h1><p>Thanks for signing up.</p>',
text: 'Welcome! Thanks for signing up.'
}
});Coming Soon
Email channel is currently in development. Contact support@yebolink.app for early access.
Voice (Coming Soon)
Automated voice calls for critical alerts.
Features:
- Text-to-speech in multiple languages
- Custom audio files
- Interactive voice response (IVR)
- Call recording
- Voicemail detection
Example:
await sendMessage({
to: '+1234567890',
channel: 'voice',
content: {
text: 'This is an important security alert. Your account has been accessed from a new location.',
voice: 'female',
language: 'en-US'
}
});Coming Soon
Voice channel is currently in development. Contact support@yebolink.app for early access.
Channel Selection Guide
When to Use SMS
- Time-sensitive notifications
- OTP and verification codes
- Appointment reminders
- Order status updates
- Payment confirmations
- Emergency alerts
When to Use WhatsApp
- Customer support conversations
- Rich media content (images, videos)
- Order updates with tracking
- Personalized marketing
- Interactive menu options
- Two-way communication
When to Use Email
- Marketing campaigns
- Newsletters
- Receipts and invoices
- Welcome sequences
- Detailed documentation
- Reports and statements
When to Use Voice
- Critical security alerts
- High-priority notifications
- Accessibility requirements
- Verification for high-risk actions
- Emergency notifications
- Elderly or visually impaired users
Multi-Channel Strategy
Send the same message across multiple channels for better reach:
const sendMultiChannel = async (recipient, message) => {
const channels = ['sms', 'email'];
for (const channel of channels) {
try {
await sendMessage({
to: recipient[channel === 'sms' ? 'phone' : 'email'],
channel,
content: {
text: message
}
});
} catch (error) {
console.error(`Failed to send via ${channel}:`, error);
}
}
};Channel-Specific Best Practices
SMS Best Practices
- Keep messages under 160 characters
- Include sender identification
- Provide opt-out instructions for marketing
- Use URL shorteners for links
- Test with different carriers
WhatsApp Best Practices
- Use approved message templates
- Respond within 24-hour window
- Personalize messages
- Use media to enhance engagement
- Respect user preferences
Email Best Practices
- Use clear subject lines
- Optimize for mobile devices
- Include unsubscribe link
- Test across email clients
- Segment your audience
Voice Best Practices
- Keep messages concise and clear
- Speak slowly and clearly
- Include important info at the beginning
- Offer option to repeat message
- Test audio quality
Rate Limits by Channel
| Channel | Rate Limit |
|---|---|
| SMS | 100 requests/minute |
| 100 requests/minute | |
| 200 requests/minute | |
| Voice | 50 requests/minute |