Sending SMS to Samoa requires understanding local telecommunications regulations, carrier requirements, and technical specifications. This comprehensive guide covers everything you need to know about sending SMS messages to Samoa (ISO code: WS, dialing code: +685), including alphanumeric sender IDs, API integrations, and compliance with Samoa's telecommunications regulations.
Samoa SMS Market Overview
Locale name:
Samoa
ISO code:
WS
Region
Oceania
Mobile country code (MCC)
549
Dialing Code
+685
Market Conditions: Samoa's telecommunications market has evolved significantly since liberalization in 2005, with mobile services now dominating the communications landscape. The independent island nation (formerly Western Samoa until 1997) maintains a competitive mobile market with multiple carriers serving approximately 200,000 residents. Mobile penetration exceeds 90% of the population, driven primarily by prepaid services. SMS remains a vital communication channel for both personal and business messaging, though data-driven services are growing rapidly. The Office of the Regulator governs the telecommunications sector under the Telecommunications Act 2005 (amended 2016).
Key SMS Features and Capabilities in Samoa
Samoa supports standard SMS features including concatenated messaging and URL-based MMS conversion, though two-way SMS functionality isn't currently available.
Two-Way SMS Support in Samoa
Most major providers don't support two-way SMS in Samoa. This limitation affects interactive messaging campaigns and automated response systems.
Workarounds for One-Way Messaging:
Include web links for responses (e.g., "Reply at example.com/survey")
Use dedicated inbound numbers in other regions for replies
Direct recipients to email or social media channels
Structure messages to require no immediate response
Message length rules: Standard SMS length limits apply:
GSM-7 encoding: 160 characters per segment
Unicode (UCS-2): 70 characters per segment
Concatenated messages: Longer messages split automatically into multiple segments
Billing example: A 320-character GSM-7 message splits into 3 segments (153 + 153 + 14 characters due to concatenation headers) and bills as 3 SMS messages.
Encoding considerations: GSM-7 is more efficient for basic Latin characters. UCS-2 is required for special characters, emojis, or non-Latin scripts.
MMS Support
Carriers automatically convert MMS messages to SMS with an embedded URL link. This conversion ensures delivery while letting you share rich media content through linked resources.
Implementation best practices:
Use URL shorteners to preserve character count
Include clear context about the linked content (e.g., "View your receipt: [link]")
Test links before sending campaigns
Ensure landing pages are mobile-optimized
Consider file size limits (typically 300KB–600KB) when creating linked content
Recipient Phone Number Compatibility
Number Portability
Samoa offers number portability services, regulated by the Office of the Regulator under the Telecommunications Act 2005. Users can retain their phone numbers when switching between licensed carriers (Digicel Samoa and Vodafone Samoa).
Porting considerations:
Typical porting timeline: 3–5 business days
Message routing may be delayed during the porting process
Update your contact databases to reflect carrier changes
Test message delivery to recently ported numbers
Sending SMS to Landlines
You cannot send SMS to landline numbers in Samoa. Attempts to send to landlines result in failed delivery.
You typically aren't charged for failed messages to invalid number types
Filter landline numbers from your contact lists before sending
Use phone number validation APIs to identify mobile vs. landline numbers
SMS Compliance and Regulatory Requirements for Samoa
The Office of the Regulator governs Samoa's telecommunications sector under the Telecommunications Act 2005 (amended 2016). The regulatory framework emphasizes consumer protection, fair competition, and quality service standards. While Samoa has its own regulations, many businesses operating in Samoa adopt international SMS best practices, including opt-in consent requirements and opt-out mechanisms.
Regulatory Authority: Office of the Regulator (Samoa)
Primary Legislation: Telecommunications Act 2005 (amended 2016)
Consumer Protection: Communications (Consumer Protection) Regulations
Consent and Opt-In Requirements
Explicit Consent Requirements:
Obtain written or electronic consent before sending marketing messages
Maintain consent records and keep them easily accessible
Clearly state the purpose and frequency of messages during opt-in
Implement double opt-in for marketing campaigns (recommended)
Sample Opt-In Message:
"Reply YES to receive weekly promotions from [YourBrand]. Message & data rates may apply. Reply STOP to cancel. Terms: [link]"
Best Practices for Documentation:
Store consent timestamps and IP addresses
Maintain detailed records of opt-in sources
Keep copies of opt-in forms and messages
Document any consent changes or updates
HELP/STOP and Other Commands
Required Keywords: Support STOP, CANCEL, UNSUBSCRIBE, QUIT, and END
Language Support: Recognize commands in both English and Samoan:
English: STOP, CANCEL, UNSUBSCRIBE, QUIT, END, HELP
Samoan: TAOFI (stop), FESOASOANI (help)
Response Time: Send acknowledgment messages within 24 hours
Sample Auto-Response Messages:
STOP received: "You've been unsubscribed from [YourBrand] messages. Reply START to opt back in."
HELP received: "For help, visit example.com/help or call +685-XXXX. Reply STOP to unsubscribe."
Do Not Call / Do Not Disturb Registries
Samoa doesn't maintain a national Do Not Call registry. However, you must comply with consumer protection regulations and respect individual opt-out requests. Best practices include:
Maintain internal do-not-contact lists for your organization
Process opt-out requests immediately (within 24–48 hours)
Filter opted-out numbers before launching campaigns
Audit suppression lists regularly to ensure compliance
Honor opt-out preferences across all communication channels
Time Zone Sensitivity for SMS Scheduling
Samoa observes Samoa Standard Time (SST, UTC+13):
Recommended Sending Hours: 8:00 AM to 8:00 PM SST
Emergency Messages: Send outside these hours only if urgent
Holiday Considerations: Avoid sending during major local holidays and religious observances
Cultural Sensitivity: Respect Sunday as a day of rest (Samoa is deeply Christian, with Sunday observance culturally significant)
Time Zone Note: Samoa is one day ahead of American Samoa despite proximity; plan your scheduling accordingly
Time Zone Comparison Table:
Location
When it's 9:00 AM in Samoa (SST)
New York (EST)
2:00 PM previous day
Los Angeles (PST)
11:00 AM previous day
London (GMT)
8:00 PM previous day
Sydney (AEDT)
8:00 AM same day
Auckland (NZDT)
10:00 AM same day
Samoa SMS Sender ID Options and Phone Number Types
Alphanumeric Sender ID
Operator network capability: Fully supported
Registration requirements: No pre-registration required; dynamic usage allowed
Character limits and requirements:
Maximum length: 11 characters
Allowed characters: A–Z, a–z, 0–9 (no spaces or special characters)
Must start with a letter (not a number)
Case-sensitive (preserve your intended capitalization)
Best practices:
Use recognizable brand names (e.g., "YourBrand" not "YB123")
Keep it short and memorable
Avoid sender IDs that resemble spam (e.g., "URGENT", "FREE")
Test sender ID appearance on different devices
Sender ID preservation: Yes, sender IDs are preserved as sent
Long Codes for Samoa SMS
Domestic vs. International:
International long codes: Fully supported
Domestic long codes: Limited availability
Acquiring Domestic Long Codes:
Contact local carriers (Digicel Samoa or Vodafone Samoa) directly
Expect 2–4 weeks provisioning time
Typical costs: $50–$150/month (varies by carrier)
May require local business registration
Sender ID preservation: Yes, your original sender ID is preserved
Provisioning time: Immediate for international numbers
Use cases: Ideal for transactional messages and customer support
Short Codes
Support: Not currently supported in Samoa
Provisioning time: N/A
Use cases: N/A
Restricted SMS Content, Industries, and Use Cases
Restricted Industries (may be filtered or blocked by carriers):
Gambling and betting services: Includes casino promotions, sports betting, lottery services
Adult content and services: Explicit material, dating services with adult themes
Healthcare messages must comply with local privacy regulations
Insurance-related messages need proper disclosures
Content Filtering
Known Carrier Filters (applied by both Digicel and Vodafone Samoa):
URLs from unknown domains or suspicious shorteners
Multiple exclamation marks (!!!) or question marks (???)
ALL CAPS messages
Excessive special characters ($$$, ***, etc.)
Approved URL Shorteners:
bit.ly (widely trusted)
goo.gl (Google shortener)
Your own branded domain shortener
Common Spam Trigger Words to Avoid:
FREE, URGENT, ACT NOW, LIMITED TIME
WINNER, CONGRATULATIONS, CLAIM YOUR PRIZE
CLICK HERE, BUY NOW, CALL NOW
Best Practices:
Use approved URL shorteners
Avoid spam trigger words
Maintain consistent sender IDs
Keep message formatting professional
Best Practices for Sending SMS to Samoa
Messaging Strategy
Keep messages under 160 characters when possible
Include clear calls-to-action
Personalize using your recipient's name or relevant details
Maintain consistent brand voice
Industry-Specific Templates:
Retail: "[Name], your order #12345 has shipped! Track it: [link] – [YourBrand]"
Healthcare: "Reminder: Your appointment with Dr. Smith is tomorrow at 2 PM. Reply C to confirm."
Finance: "Your account ending in 4567 has a balance of $234.56. View details: [link]"
A/B Testing Recommendations:
Test different sender IDs (alphanumeric vs. numeric)
Vary call-to-action placement (beginning vs. end)
Compare personalized vs. generic greetings
Measure response rates for different message lengths
Sending Frequency and Timing
Limit to 2–4 messages per week per recipient
Respect local time zones and cultural events
Avoid sending during major holidays
Space out messages appropriately
Localization for Samoa
Support both English and Samoan languages
Consider cultural nuances in message content
Use appropriate date and time formats
Include local contact information
Samoan Language Encoding:
Use Unicode (UCS-2) encoding for Samoan special characters (ā, ē, ī, ō, ū, macrons)
Standard GSM-7 encoding doesn't support Samoan diacritics
Unicode reduces character limit from 160 to 70 per segment
Translation Best Practices:
Work with native Samoan speakers for culturally appropriate translations
Respect formal vs. informal language registers (Samoan culture values respect and formality)
Test messages with local recipients before full deployment
Consider code-switching (mixing English and Samoan) for common terms
Opt-Out Management
Process opt-outs within 24 hours
Maintain centralized opt-out database
Confirm opt-outs with acknowledgment message
Audit your opt-out list regularly
Testing and Monitoring
Test across major local carriers
Monitor delivery rates daily
Track engagement metrics
Test opt-out functionality regularly
Key Performance Indicators (KPIs):
Delivery rate: Target >95% (successful deliveries / total sent)
Click-through rate: Benchmark 2–5% for promotional messages
Opt-out rate: Target <0.5% per campaign
Response time: Average time to delivery confirmation
Benchmarks for Good Delivery Rates:
Excellent: >98% delivery rate
Good: 95–98% delivery rate
Needs improvement: <95% delivery rate
SMS API Integration for Samoa (+685)
Twilio SMS API for Samoa
Twilio provides robust SMS capabilities for Samoa through their REST API. Authentication uses account SID and auth token credentials. Learn more about SMS API integrations and international SMS best practices.
Samoa-Specific Details:
Pricing: Approximately $0.08–$0.12 per SMS segment (check current rates at twilio.com/pricing)
Account setup: Standard Twilio account (no special Samoa requirements)
Sinch: 100 messages/second (standard), contact sales for higher limits
MessageBird: 50 messages/second (default), scalable with volume pricing
Plivo: 200 messages/second (enterprise accounts)
Batch Sending Limits:
Typical batch size: 100–1,000 messages per request
Daily quotas: Vary by account tier (contact your provider)
Strategies for Large-Scale Sending:
Implement a queuing system for high-volume campaigns
Use batch APIs when available
Implement exponential backoff for retries
Monitor throughput and adjust sending rates
Sample Retry Logic (TypeScript):
TypeScript
asyncfunctionsendWithRetry(sendFunction: () => Promise<any>,
maxRetries: number = 3): Promise<any> {
for (let i = 0; i < maxRetries; i++) {
try {
returnawaitsendFunction();
} catch (error) {
if (i === maxRetries - 1) throw error;
const delay = Math.pow(2, i) * 1000; // Exponential backoffawaitnewPromise(resolve =>setTimeout(resolve, delay));
}
}
}
Error Handling and Reporting
Common Error Scenarios:
Error Type
Twilio Code
Sinch Code
Resolution
Invalid number format
21211
40001
Validate E.164 format
Rate limit exceeded
20429
429
Implement backoff/queuing
Invalid sender ID
21612
40002
Check sender ID format
Carrier rejection
30005
40301
Review content filtering
Logging Best Practices:
Log all API requests and responses (sanitize PII)
Implement structured error handling with error codes
Track delivery status callbacks
Maintain audit trails for compliance
Set up alerting for delivery rate drops >5%
Frequently Asked Questions About Samoa SMS
What is the ISO country code for Samoa?
The ISO 3166-1 alpha-2 country code for Samoa is WS. This code derives from Samoa's former name "Western Samoa" (used until 1997). Don't confuse this with AS, which is the ISO code for American Samoa – a separate U.S. territory. When configuring SMS APIs or international routing, always use WS for Samoa.
What is the correct dialing code for sending SMS to Samoa?
Samoa's international dialing code is +685. When formatting phone numbers for SMS APIs, use E.164 format: +685 followed by the local number (typically 5–7 digits). For example: +685 12345. Most SMS gateway providers require this format for proper message routing to Samoa's mobile networks.
Which mobile carriers operate in Samoa?
Samoa's mobile market has two main carriers:
Digicel Samoa
MNC: 01 (MCC 549, full code: 549-01)
Market share: ~60%
Coverage: Extensive across Upolu and Savai'i islands
Vodafone Samoa
MNC: 27 (MCC 549, full code: 549-27)
Market share: ~40%
Coverage: Strong in urban areas, expanding rural coverage
Both carriers support SMS messaging, though network coverage and features may vary. Test your SMS campaigns across both networks to ensure optimal delivery rates, especially if you're targeting subscribers throughout the islands.
Does Samoa support alphanumeric sender IDs for SMS?
Yes, Samoa fully supports alphanumeric sender IDs without pre-registration requirements. You can use custom sender IDs (like "YourBrand") for your SMS messages, and they'll be preserved as sent. This feature works well for branding and recognition, though some carriers may filter suspicious or misleading sender IDs.
What time zone does Samoa use for SMS scheduling?
Samoa observes Samoa Standard Time (SST, UTC+13). This is crucial for scheduling: Samoa is one day ahead of American Samoa despite their proximity. Send messages between 8:00 AM and 8:00 PM SST to respect local hours. Note that Samoa doesn't observe daylight saving time, so the UTC offset remains constant year-round.
Are there SMS compliance regulations in Samoa?
Yes. Samoa's telecommunications sector is regulated by the Office of the Regulator under the Telecommunications Act 2005 (amended 2016). While regulations differ from U.S. frameworks like TCPA, you should still obtain explicit consent before sending marketing messages, support opt-out keywords (STOP, CANCEL, UNSUBSCRIBE), and process opt-out requests within 24–48 hours.
Can I send two-way SMS in Samoa?
No, most major SMS providers don't support two-way SMS functionality in Samoa currently. This limitation affects interactive campaigns requiring user replies, automated response systems, and conversational messaging. Plan your messaging strategy around one-way broadcasts for transactional notifications, alerts, and marketing campaigns.
What is the Mobile Country Code (MCC) for Samoa?
Samoa's Mobile Country Code (MCC) is 549. The MCC is used in mobile network identification and routing protocols. Combined with Mobile Network Codes (MNCs) for specific carriers, the MCC helps SMS gateways route messages correctly through international networks to reach Samoa's mobile subscribers.
How do I format phone numbers for Samoa SMS APIs?
Use E.164 international format: +685 followed by the local subscriber number. For example, +685 12345 or +685 7654321. Avoid spaces, dashes, or parentheses in your API requests. Most SMS providers (Twilio, Sinch, Plivo, MessageBird) require this format for proper message delivery and accurate billing.
Validation Regex Pattern:
Regex
^\+685\d{5,7}$
Common Formatting Errors to Avoid:
❌ 685 12345 (missing + prefix)
❌ +685-12-345 (contains dashes)
❌ +685 (12345) (contains parentheses)
❌ 00685 12345 (uses 00 instead of +)
✅ +68512345 (correct format)
What are the SMS character limits for Samoa?
Standard SMS limits apply: 160 characters for GSM-7 encoding (basic Latin alphabet) and 70 characters for UCS-2 encoding (Unicode, including emojis). Longer messages are automatically split into concatenated segments, with each segment counting toward your SMS quota and billing. Keep messages concise to minimize costs and improve deliverability.
Key Takeaways and Next Steps
Compliance Priorities
Follow Samoa telecommunications regulations and international SMS best practices
Use the +1684 country code followed by the local number when sending international SMS to American Samoa. Ensure the number is in E.164 format for optimal deliverability and compatibility with SMS APIs.
American Samoa's telecommunications market is small but expanding, with high mobile penetration and SMS as a key communication channel. While it adheres to U.S. standards and regulations, it also has unique aspects, such as limited two-way SMS support.
Two-way SMS functionality is not currently available through most major providers in American Samoa. This limitation impacts interactive messaging campaigns and automated response systems.
The best time to send SMS in American Samoa is between 8:00 AM and 8:00 PM Samoa Standard Time (SST). Avoid sending messages during major local holidays or on Sundays out of respect for local customs.
Short codes are not currently supported in American Samoa. International and, with limitations, domestic long codes are the primary sender ID options for SMS messaging.
American Samoa adheres to U.S. telecommunications regulations, including the TCPA and CAN-SPAM Act. Obtain explicit consent before sending marketing messages, support HELP/STOP commands, and respect Do Not Call registry rules.
Obtain written or electronic consent before sending marketing messages in American Samoa. Clearly state the purpose and frequency of messages, and maintain easily accessible consent records. Double opt-in is recommended best practice.
Keywords like STOP, CANCEL, UNSUBSCRIBE, QUIT, and END must be supported in both English and Samoan. Acknowledge these requests within 24 hours and maintain an automated system to manage these keywords.
Standard SMS length limits apply: 160 characters for GSM-7 encoding and 70 characters for Unicode. Concatenated messaging is supported for longer messages, which are automatically segmented into multiple parts.
MMS messages are automatically converted to SMS with a URL link to the media content. Use short URLs and descriptive text to provide context about the linked content.
No, SMS to landline numbers is not supported. Attempts to send such messages will result in failed delivery, error code 21614, and no charge to your account.
Alphanumeric sender IDs are fully supported and do not require pre-registration. Dynamic usage is allowed, and sender IDs are preserved as originally sent.
Keep messages concise, personalize content, include clear calls to action, and maintain a consistent brand voice. Limit sending frequency, respect local time zones, and comply with all applicable regulations.
Restricted content includes gambling, adult material, cryptocurrency promotions, and unauthorized financial services. Regulated industries like finance and healthcare require specific disclaimers and disclosures.
Several providers, including Twilio, Sinch, MessageBird, and Plivo, offer SMS API integration for sending messages to American Samoa. Use their provided code examples and documentation for implementation guidance.
Sending SMS to Samoa requires understanding local telecommunications regulations, carrier requirements, and technical specifications. This comprehensive guide covers everything you need to know about sending SMS messages to Samoa (ISO code: WS, dialing code: +685), including alphanumeric sender IDs, API integrations, and compliance with Samoa's telecommunications regulations.
Samoa SMS Market Overview
Market Conditions: Samoa's telecommunications market has evolved significantly since liberalization in 2005, with mobile services now dominating the communications landscape. The independent island nation (formerly Western Samoa until 1997) maintains a competitive mobile market with multiple carriers serving approximately 200,000 residents. Mobile penetration exceeds 90% of the population, driven primarily by prepaid services. SMS remains a vital communication channel for both personal and business messaging, though data-driven services are growing rapidly. The Office of the Regulator governs the telecommunications sector under the Telecommunications Act 2005 (amended 2016).
Key SMS Features and Capabilities in Samoa
Samoa supports standard SMS features including concatenated messaging and URL-based MMS conversion, though two-way SMS functionality isn't currently available.
Two-Way SMS Support in Samoa
Most major providers don't support two-way SMS in Samoa. This limitation affects interactive messaging campaigns and automated response systems.
Workarounds for One-Way Messaging:
Concatenated Messages (Segmented SMS)
Support: Yes, Samoa fully supports concatenated messaging.
Message length rules: Standard SMS length limits apply:
Billing example: A 320-character GSM-7 message splits into 3 segments (153 + 153 + 14 characters due to concatenation headers) and bills as 3 SMS messages.
Encoding considerations: GSM-7 is more efficient for basic Latin characters. UCS-2 is required for special characters, emojis, or non-Latin scripts.
MMS Support
Carriers automatically convert MMS messages to SMS with an embedded URL link. This conversion ensures delivery while letting you share rich media content through linked resources.
Implementation best practices:
Recipient Phone Number Compatibility
Number Portability
Samoa offers number portability services, regulated by the Office of the Regulator under the Telecommunications Act 2005. Users can retain their phone numbers when switching between licensed carriers (Digicel Samoa and Vodafone Samoa).
Porting considerations:
Sending SMS to Landlines
You cannot send SMS to landline numbers in Samoa. Attempts to send to landlines result in failed delivery.
What to expect:
SMS Compliance and Regulatory Requirements for Samoa
The Office of the Regulator governs Samoa's telecommunications sector under the Telecommunications Act 2005 (amended 2016). The regulatory framework emphasizes consumer protection, fair competition, and quality service standards. While Samoa has its own regulations, many businesses operating in Samoa adopt international SMS best practices, including opt-in consent requirements and opt-out mechanisms.
Regulatory Authority: Office of the Regulator (Samoa) Primary Legislation: Telecommunications Act 2005 (amended 2016) Consumer Protection: Communications (Consumer Protection) Regulations
Consent and Opt-In Requirements
Explicit Consent Requirements:
Sample Opt-In Message: "Reply YES to receive weekly promotions from [YourBrand]. Message & data rates may apply. Reply STOP to cancel. Terms: [link]"
Best Practices for Documentation:
HELP/STOP and Other Commands
Required Keywords: Support STOP, CANCEL, UNSUBSCRIBE, QUIT, and END
Language Support: Recognize commands in both English and Samoan:
Response Time: Send acknowledgment messages within 24 hours
Sample Auto-Response Messages:
Do Not Call / Do Not Disturb Registries
Samoa doesn't maintain a national Do Not Call registry. However, you must comply with consumer protection regulations and respect individual opt-out requests. Best practices include:
Time Zone Sensitivity for SMS Scheduling
Samoa observes Samoa Standard Time (SST, UTC+13):
Time Zone Comparison Table:
Samoa SMS Sender ID Options and Phone Number Types
Alphanumeric Sender ID
Operator network capability: Fully supported
Registration requirements: No pre-registration required; dynamic usage allowed
Character limits and requirements:
Best practices:
Sender ID preservation: Yes, sender IDs are preserved as sent
Long Codes for Samoa SMS
Domestic vs. International:
Acquiring Domestic Long Codes:
Sender ID preservation: Yes, your original sender ID is preserved
Provisioning time: Immediate for international numbers
Use cases: Ideal for transactional messages and customer support
Short Codes
Support: Not currently supported in Samoa Provisioning time: N/A Use cases: N/A
Restricted SMS Content, Industries, and Use Cases
Restricted Industries (may be filtered or blocked by carriers):
Legal Basis: Restrictions align with Samoa's consumer protection regulations and carrier policies to prevent fraud and protect subscribers.
Regulated Industries:
Content Filtering
Known Carrier Filters (applied by both Digicel and Vodafone Samoa):
Approved URL Shorteners:
Common Spam Trigger Words to Avoid:
Best Practices:
Best Practices for Sending SMS to Samoa
Messaging Strategy
Industry-Specific Templates:
A/B Testing Recommendations:
Sending Frequency and Timing
Localization for Samoa
Samoan Language Encoding:
Translation Best Practices:
Opt-Out Management
Testing and Monitoring
Key Performance Indicators (KPIs):
Benchmarks for Good Delivery Rates:
SMS API Integration for Samoa (+685)
Twilio SMS API for Samoa
Twilio provides robust SMS capabilities for Samoa through their REST API. Authentication uses account SID and auth token credentials. Learn more about SMS API integrations and international SMS best practices.
Samoa-Specific Details:
import { Twilio } from 'twilio'; // Initialize client with your credentials const client = new Twilio( process.env.TWILIO_ACCOUNT_SID, // Your Account SID process.env.TWILIO_AUTH_TOKEN // Your Auth Token ); // Function to send SMS to Samoa async function sendSMSToSamoa( to: string, message: string ): Promise<void> { try { // Ensure number is in E.164 format for Samoa (+685) const formattedNumber = to.startsWith('+685') ? to : `+685${to}`; const response = await client.messages.create({ body: message, to: formattedNumber, from: process.env.TWILIO_PHONE_NUMBER, // Your Twilio number // Optional parameters for delivery tracking statusCallback: 'https://your-webhook.com/status' }); console.log(`Message sent! SID: ${response.sid}`); } catch (error) { console.error('Error sending message:', error); } }Sinch SMS API for Samoa
Sinch offers SMS services to Samoa with RESTful API integration. Authentication uses API key and secret.
import { SinchClient } from '@sinch/sdk-core'; // Initialize Sinch client const sinchClient = new SinchClient({ projectId: process.env.SINCH_PROJECT_ID, keyId: process.env.SINCH_KEY_ID, keySecret: process.env.SINCH_KEY_SECRET }); // Function to send SMS via Sinch async function sendSinchSMS( phoneNumber: string, messageText: string ): Promise<void> { try { const response = await sinchClient.sms.batches.send({ sendSMSRequestBody: { to: [phoneNumber], from: process.env.SINCH_SENDER_ID, body: messageText, // Optional delivery report settings deliveryReport: 'summary' } }); console.log('Message sent successfully:', response); } catch (error) { console.error('Failed to send message:', error); } }MessageBird SMS API
MessageBird provides SMS connectivity to Samoa through their REST API platform.
import { MessageBird } from 'messagebird'; // Initialize MessageBird client const messagebird = MessageBird(process.env.MESSAGEBIRD_API_KEY); // Function to send SMS via MessageBird async function sendMessageBirdSMS( recipient: string, content: string ): Promise<void> { const params = { originator: process.env.MESSAGEBIRD_SENDER_ID, recipients: [recipient], body: content, // Optional parameters reportUrl: 'https://your-webhook.com/delivery-reports' }; messagebird.messages.create(params, (err, response) => { if (err) { console.error('Error sending message:', err); return; } console.log('Message sent successfully:', response); }); }Plivo SMS API for Samoa
Plivo offers SMS capabilities for Samoa with straightforward API integration.
import { Client } from 'plivo'; // Initialize Plivo client const plivo = new Client( process.env.PLIVO_AUTH_ID, process.env.PLIVO_AUTH_TOKEN ); // Function to send SMS via Plivo async function sendPlivoSMS( destination: string, message: string ): Promise<void> { try { const response = await plivo.messages.create({ src: process.env.PLIVO_SENDER_ID, // Your Plivo number dst: destination, // Destination number text: message, // Optional URL callback url: 'https://your-webhook.com/status' }); console.log('Message sent:', response); } catch (error) { console.error('Failed to send message:', error); } }API Rate Limits and Throughput
Provider-Specific Rate Limits:
Batch Sending Limits:
Strategies for Large-Scale Sending:
Sample Retry Logic (TypeScript):
async function sendWithRetry( sendFunction: () => Promise<any>, maxRetries: number = 3 ): Promise<any> { for (let i = 0; i < maxRetries; i++) { try { return await sendFunction(); } catch (error) { if (i === maxRetries - 1) throw error; const delay = Math.pow(2, i) * 1000; // Exponential backoff await new Promise(resolve => setTimeout(resolve, delay)); } } }Error Handling and Reporting
Common Error Scenarios:
Logging Best Practices:
Frequently Asked Questions About Samoa SMS
What is the ISO country code for Samoa?
The ISO 3166-1 alpha-2 country code for Samoa is WS. This code derives from Samoa's former name "Western Samoa" (used until 1997). Don't confuse this with AS, which is the ISO code for American Samoa – a separate U.S. territory. When configuring SMS APIs or international routing, always use WS for Samoa.
What is the correct dialing code for sending SMS to Samoa?
Samoa's international dialing code is +685. When formatting phone numbers for SMS APIs, use E.164 format: +685 followed by the local number (typically 5–7 digits). For example: +685 12345. Most SMS gateway providers require this format for proper message routing to Samoa's mobile networks.
Which mobile carriers operate in Samoa?
Samoa's mobile market has two main carriers:
Digicel Samoa
Vodafone Samoa
Both carriers support SMS messaging, though network coverage and features may vary. Test your SMS campaigns across both networks to ensure optimal delivery rates, especially if you're targeting subscribers throughout the islands.
Does Samoa support alphanumeric sender IDs for SMS?
Yes, Samoa fully supports alphanumeric sender IDs without pre-registration requirements. You can use custom sender IDs (like "YourBrand") for your SMS messages, and they'll be preserved as sent. This feature works well for branding and recognition, though some carriers may filter suspicious or misleading sender IDs.
What time zone does Samoa use for SMS scheduling?
Samoa observes Samoa Standard Time (SST, UTC+13). This is crucial for scheduling: Samoa is one day ahead of American Samoa despite their proximity. Send messages between 8:00 AM and 8:00 PM SST to respect local hours. Note that Samoa doesn't observe daylight saving time, so the UTC offset remains constant year-round.
Are there SMS compliance regulations in Samoa?
Yes. Samoa's telecommunications sector is regulated by the Office of the Regulator under the Telecommunications Act 2005 (amended 2016). While regulations differ from U.S. frameworks like TCPA, you should still obtain explicit consent before sending marketing messages, support opt-out keywords (STOP, CANCEL, UNSUBSCRIBE), and process opt-out requests within 24–48 hours.
Can I send two-way SMS in Samoa?
No, most major SMS providers don't support two-way SMS functionality in Samoa currently. This limitation affects interactive campaigns requiring user replies, automated response systems, and conversational messaging. Plan your messaging strategy around one-way broadcasts for transactional notifications, alerts, and marketing campaigns.
What is the Mobile Country Code (MCC) for Samoa?
Samoa's Mobile Country Code (MCC) is 549. The MCC is used in mobile network identification and routing protocols. Combined with Mobile Network Codes (MNCs) for specific carriers, the MCC helps SMS gateways route messages correctly through international networks to reach Samoa's mobile subscribers.
How do I format phone numbers for Samoa SMS APIs?
Use E.164 international format: +685 followed by the local subscriber number. For example, +685 12345 or +685 7654321. Avoid spaces, dashes, or parentheses in your API requests. Most SMS providers (Twilio, Sinch, Plivo, MessageBird) require this format for proper message delivery and accurate billing.
Validation Regex Pattern:
Common Formatting Errors to Avoid:
What are the SMS character limits for Samoa?
Standard SMS limits apply: 160 characters for GSM-7 encoding (basic Latin alphabet) and 70 characters for UCS-2 encoding (Unicode, including emojis). Longer messages are automatically split into concatenated segments, with each segment counting toward your SMS quota and billing. Keep messages concise to minimize costs and improve deliverability.
Key Takeaways and Next Steps
Compliance Priorities
Technical Considerations
Best Practices
Next Steps
Quick-Start Checklist:
Decision Tree for Choosing Your Approach:
Do you need branded sender IDs?
What's your message volume?
Do you need delivery tracking?
Additional Resources