sms compliance

Sent logo
Sent TeamMay 3, 2025 / sms compliance / Article

Costa Rica SMS Guide

Explore Costa Rica SMS: compliance (SUTEL), features & best practices. No concatenated SMS; MMS converts to SMS w/ URL. Use Spanish. International long codes OK. Adhere to 8 AM-8 PM CST sending window. Avoid 400 errors by not sending to landlines. Opt-out keywords: STOP, CANCELAR, NO.

Costa Rica SMS Best Practices, Compliance, and Features

Costa Rica SMS Market Overview

Locale name:Costa Rica
ISO code:CR
RegionNorth America
Mobile country code (MCC)712
Dialing Code+506

Market Conditions: Costa Rica has a mature mobile market with high smartphone penetration and widespread SMS usage. The country's mobile landscape is dominated by major operators including Kolbi (ICE), Movistar, and Claro. While OTT messaging apps like WhatsApp are popular for personal communication, SMS remains crucial for business messaging, particularly for notifications, authentication, and marketing communications due to its reliability and universal reach.


Key SMS Features and Capabilities in Costa Rica

Costa Rica supports basic SMS functionality with some limitations on advanced features like concatenation and two-way messaging.

Two-way SMS Support

Two-way SMS is not supported in Costa Rica through most major SMS providers. This means businesses should design their SMS strategies around one-way communication flows.

Concatenated Messages (Segmented SMS)

Support: Concatenated SMS is not supported by operators in Costa Rica.
Message length rules: Messages longer than standard SMS length will be split into individual messages without guaranteed ordering.
Encoding considerations: Standard GSM-7 encoding is recommended for optimal delivery. Using UCS-2 for special characters will reduce the available characters per message.

MMS Support

MMS messages are not directly supported in Costa Rica. When attempting to send MMS, the message will be automatically converted to SMS with an embedded URL link where recipients can view the media content. This ensures message delivery while providing access to multimedia content through web links.

Recipient Phone Number Compatibility

Number Portability

Number portability is not available in Costa Rica. This means mobile numbers remain tied to their original carriers, which can simplify routing but limits consumer flexibility.

Sending SMS to Landlines

Sending SMS to landline numbers is not possible in Costa Rica. Attempts to send messages to landline numbers will result in delivery failures, typically generating a 400 response error (error code 21614) through SMS APIs, and no charges will be incurred for these failed attempts.

Compliance and Regulatory Guidelines for SMS in Costa Rica

Costa Rica's telecommunications sector is regulated by SUTEL (Superintendencia de Telecomunicaciones), which oversees SMS communications and marketing activities. While specific SMS marketing regulations are less stringent than in some countries, businesses must adhere to general consumer protection laws and telecommunications guidelines.

Explicit Consent Requirements:

  • Obtain clear, documented opt-in consent before sending marketing messages
  • Maintain detailed records of when and how consent was obtained
  • Include your business name and purpose in initial opt-in messages
  • Provide clear terms and conditions regarding message frequency and content

Best Practices for Consent Collection:

  • Use double opt-in processes for marketing lists
  • Store consent records with timestamps and opt-in source
  • Regularly clean and update subscriber lists
  • Document opt-in language and methods used

HELP/STOP and Other Commands

  • All SMS campaigns must support standard opt-out keywords:
    • "STOP" (primary)
    • "CANCELAR" (Spanish equivalent)
    • "NO" (alternative)
  • HELP/AYUDA messages should provide:
    • Company identification
    • Contact information
    • Brief service description
  • Support both Spanish and English commands for optimal user experience

Do Not Call / Do Not Disturb Registries

Costa Rica does not maintain a centralized Do Not Call registry. However, businesses should:

  • Maintain their own opt-out databases
  • Honor opt-out requests within 24 hours
  • Keep suppression lists updated across all campaigns
  • Implement proper opt-out tracking systems

Time Zone Sensitivity

Costa Rica observes Central Standard Time (CST) year-round. Best practices include:

  • Send messages between 8:00 AM and 8:00 PM CST
  • Avoid sending during national holidays
  • Consider business hours for B2B messages
  • Reserve after-hours messaging for urgent notifications only

Phone Numbers Options and SMS Sender Types for Costa Rica

Alphanumeric Sender ID

Operator network capability: Supported
Registration requirements: Pre-registration not required
Sender ID preservation: Sender IDs may be overwritten by carriers for security purposes

Long Codes

Domestic vs. International:

  • Domestic long codes not supported
  • International long codes supported but may be overwritten

Sender ID preservation: No, international numbers are typically replaced with local formats Provisioning time: Immediate for international numbers Use cases:

  • Transactional messages
  • Customer support
  • Account notifications

Short Codes

Support: Available through major carriers Provisioning time: 8-12 weeks typical approval timeline Use cases:

  • High-volume marketing campaigns
  • Two-factor authentication
  • Emergency alerts
  • Customer service

Restricted SMS Content, Industries, and Use Cases

Restricted Industries:

  • Gambling and betting services
  • Adult content
  • Unauthorized pharmaceutical sales
  • Political campaigns without proper authorization

Regulated Industries:

  • Financial services require additional disclaimers
  • Healthcare messages must maintain patient privacy
  • Insurance services need clear terms and conditions

Content Filtering

Known Carrier Filters:

  • URLs from unknown domains
  • Multiple exclamation marks
  • ALL CAPS messages
  • Excessive special characters

Best Practices to Avoid Filtering:

  • Use registered URL shorteners
  • Maintain consistent sender IDs
  • Avoid spam trigger words
  • Keep message formatting simple

Best Practices for Sending SMS in Costa Rica

Messaging Strategy

  • Keep messages under 160 characters when possible
  • Include clear calls-to-action
  • Use personalization thoughtfully
  • Maintain consistent branding

Sending Frequency and Timing

  • Limit to 2-4 messages per week per recipient
  • Respect local holidays and cultural events
  • Schedule around peak business hours
  • Space out bulk campaigns

Localization

  • Primary language: Spanish
  • Consider bilingual messages for tourist areas
  • Use local date/time formats
  • Respect cultural nuances

Opt-Out Management

  • Process opt-outs immediately
  • Maintain centralized opt-out database
  • Confirm opt-out with one final message
  • Regular database cleaning

Testing and Monitoring

  • Test across all major carriers (Kolbi, Movistar, Claro)
  • Monitor delivery rates by carrier
  • Track engagement metrics
  • Regular A/B testing of message content

SMS API integrations for Costa Rica

Twilio

Twilio provides a robust SMS API with comprehensive support for Costa Rica. Integration requires an account SID and auth token for authentication.

typescript
import { Twilio } from 'twilio';

// Initialize client with environment variables
const client = new Twilio(
  process.env.TWILIO_ACCOUNT_SID,
  process.env.TWILIO_AUTH_TOKEN
);

// Function to send SMS to Costa Rica
async function sendSMSToCostaRica(
  to: string,
  message: string
): Promise<void> {
  try {
    // Format number to Costa Rica format (+506)
    const formattedNumber = to.startsWith('+506') ? to : `+506${to}`;
    
    const response = await client.messages.create({
      body: message,
      to: formattedNumber,
      from: process.env.TWILIO_PHONE_NUMBER,
      // Optional statusCallback URL for delivery updates
      statusCallback: 'https://your-callback-url.com/status'
    });
    
    console.log(`Message sent successfully! SID: ${response.sid}`);
  } catch (error) {
    console.error('Error sending message:', error);
    throw error;
  }
}

Sinch

Sinch offers a straightforward API for sending SMS to Costa Rica, with support for delivery reporting and batch sending.

typescript
import { SinchClient } from '@sinch/sdk-core';

class SinchSMSService {
  private client: SinchClient;
  
  constructor() {
    this.client = new SinchClient({
      projectId: process.env.SINCH_PROJECT_ID,
      apiToken: process.env.SINCH_API_TOKEN
    });
  }

  async sendMessage(to: string, message: string): Promise<void> {
    try {
      const response = await this.client.sms.batches.send({
        to: [to],
        from: process.env.SINCH_SENDER_ID,
        body: message,
        // Enable delivery report
        deliveryReport: 'summary'
      });
      
      console.log('Message batch ID:', response.id);
    } catch (error) {
      console.error('Sinch SMS error:', error);
      throw error;
    }
  }
}

MessageBird

MessageBird provides reliable SMS delivery to Costa Rica with support for unicode messages and delivery tracking.

typescript
import { MessageBird } from 'messagebird';

class MessageBirdService {
  private client: MessageBird;
  
  constructor() {
    this.client = new MessageBird(process.env.MESSAGEBIRD_API_KEY);
  }

  async sendSMS(
    to: string,
    message: string,
    options: { reference?: string } = {}
  ): Promise<void> {
    try {
      const params = {
        originator: process.env.MESSAGEBIRD_ORIGINATOR,
        recipients: [to],
        body: message,
        reference: options.reference,
        reportUrl: 'https://your-webhook-url.com/delivery-reports'
      };

      await this.client.messages.create(params);
    } catch (error) {
      console.error('MessageBird error:', error);
      throw error;
    }
  }
}

Plivo

Plivo offers advanced SMS features with support for Costa Rica, including message queuing and detailed delivery reporting.

typescript
import { Client } from 'plivo';

class PlivoSMSService {
  private client: Client;
  
  constructor() {
    this.client = new Client(
      process.env.PLIVO_AUTH_ID,
      process.env.PLIVO_AUTH_TOKEN
    );
  }

  async sendSMS(
    to: string,
    message: string,
    options = { dlrUrl?: string }
  ): Promise<void> {
    try {
      const response = await this.client.messages.create({
        src: process.env.PLIVO_SOURCE_NUMBER,
        dst: to,
        text: message,
        url: options.dlrUrl,
        method: 'POST'
      });
      
      console.log('Message UUID:', response.messageUuid);
    } catch (error) {
      console.error('Plivo error:', error);
      throw error;
    }
  }
}

API Rate Limits and Throughput

  • Default rate limits vary by provider (typically 1-10 messages per second)
  • Implement exponential backoff for retry logic
  • Use queuing systems (Redis, RabbitMQ) for high-volume sending
  • Consider batch APIs for bulk messages

Error Handling and Reporting

  • Implement comprehensive error logging
  • Monitor delivery receipts via webhooks
  • Track common error codes:
    • Invalid number format
    • Network errors
    • Rate limit exceeded
  • Store message status updates for analytics

Recap and Additional Resources

Key Takeaways

  1. Compliance Priorities

    • Obtain explicit consent
    • Honor opt-out requests
    • Respect time zone restrictions
  2. Technical Considerations

    • No concatenated SMS support
    • MMS converts to SMS with URL
    • International long codes supported
  3. Best Practices

    • Use Spanish language
    • Implement proper error handling
    • Monitor delivery rates

Next Steps

  1. Review SUTEL regulations at www.sutel.go.cr
  2. Consult with local legal counsel for compliance
  3. Set up test accounts with preferred SMS providers
  4. Implement proper error handling and monitoring

Additional Resources

Provider Documentation:

Frequently Asked Questions

How to send SMS messages to Costa Rica?

Use an international SMS provider like Twilio, Sinch, MessageBird, or Plivo. Ensure the recipient number starts with +506 and utilize their APIs with proper authentication and number formatting. Note: Domestic long codes are not supported.

What is the process for sending SMS in Costa Rica?

Costa Rica's mobile network supports international long codes for sending SMS. Due to two-way SMS limitations, design communication for one-way messaging. Remember that long concatenated messages will be split, and MMS messages are converted to SMS with a URL link to media content.

Why does Costa Rica not support two-way SMS?

Most major SMS providers do not support two-way messaging in Costa Rica. Businesses should plan their SMS strategies around one-way communication flows, like notifications and alerts.

When should I send marketing SMS messages in Costa Rica?

Adhere to Central Standard Time (CST) when scheduling messages. Send between 8:00 AM and 8:00 PM CST, avoiding national holidays. Consider business hours for B2B communications and reserve after-hours texts for urgent notifications only.

Can I use concatenated SMS in Costa Rica?

No, concatenated SMS is not supported. Messages exceeding the standard length will be split into multiple messages without guaranteed order. Use GSM-7 encoding, as UCS-2 encoding reduces character limits.

What SMS compliance rules exist in Costa Rica?

Obtain explicit opt-in consent before sending marketing SMS. Honor STOP, CANCELAR, and NO opt-out keywords. Support HELP/AYUDA keywords providing business identification, contact details, and service description in both English and Spanish.

How to manage opt-outs for SMS campaigns in Costa Rica?

Process opt-out requests immediately, ideally within 24 hours. Utilize keywords like STOP, CANCELAR, and NO. While Costa Rica lacks a national Do Not Call list, maintaining your own opt-out database is crucial.

What are the restrictions on SMS content in Costa Rica?

Avoid sending messages related to gambling, adult content, unauthorized pharmaceuticals, and political campaigns without authorization. Financial, healthcare, and insurance communications are regulated and require specific disclaimers.

What is the preferred language for SMS in Costa Rica?

Spanish is the primary language. Consider bilingual messaging for tourist areas. Ensure proper localization by using local date/time formats and respecting cultural nuances in your messaging.

What sender ID options are available for SMS in Costa Rica?

Alphanumeric sender IDs are supported, but may be overwritten by carriers. International long codes are also supported, but they may be replaced with local formats. Shortcodes are available, but require an 8–12 week approval process.

What are some best practices for SMS marketing in Costa Rica?

Keep messages under 160 characters, include clear calls to action, and personalize thoughtfully. Send 2-4 messages per week, respect local holidays, schedule around peak business hours, and use Spanish as the primary language.

How do I handle SMS API rate limits in Costa Rica?

Default rate limits vary by provider. Implement exponential backoff and use queuing systems like Redis or RabbitMQ for high-volume sending. Use batch APIs for sending bulk messages.

What are some SMS API integration options for Costa Rica?

Twilio, Sinch, MessageBird, and Plivo offer robust APIs for sending SMS to Costa Rica. Each provider offers features like delivery reporting, number formatting, and batch sending.

How to integrate Twilio SMS API for Costa Rica?

Initialize the Twilio client with your Account SID and Auth Token. Format recipient numbers with +506, specify your Twilio phone number, and include an optional statusCallback URL for delivery updates.

What are the best practices for error handling with SMS APIs in Costa Rica?

Implement comprehensive error logging, monitor delivery receipts via webhooks, track common error codes, and store message status updates for analytics. Track error codes such as invalid number format, network issues, and rate limit issues.