sms compliance
sms compliance
Portugal SMS Guide: GDPR Compliance, ANACOM Regulations & API Integration
Send SMS in Portugal with GDPR & CNPD compliance. Learn ANACOM regulations, consent requirements, MEO/Vodafone/NOS delivery, and integrate Twilio, Plivo, Sinch & MessageBird APIs for marketing and transactional messages.
Portugal SMS Best Practices, Compliance, and Features
Send SMS messages to Portugal legally and effectively with complete compliance for ANACOM regulations, GDPR data protection, and CNPD consent requirements. This comprehensive guide covers Portugal's SMS market regulations, MEO/Vodafone/NOS network optimization, and API integration with Twilio, Plivo, Sinch, and MessageBird. Learn how to navigate strict Portuguese data protection rules (CNPD issued €1.5 million in fines during 2021), implement proper consent management, and deliver transactional, marketing, and authentication messages successfully. Essential for businesses sending SMS, OTP codes, alerts, and marketing campaigns in Portugal.
What Is the Portugal SMS Market Like?
| Locale name: | Portugal |
|---|---|
| ISO code: | PT |
| Region | Europe |
| Mobile country code (MCC) | 268 |
| Dialing Code | +351 |
Market Size and Growth: Portugal's mobile market will reach USD 6.97 billion in 2025, growing at 1.21% CAGR to USD 7.41 billion by 2030. Telecom and pay-TV services revenue will grow at 1.4% CAGR during 2024–2029, with mobile data service revenue growing at a five-year CAGR of 5.6%.
Source: Portugal Telecom Market Size & Share Analysis – Mordor Intelligence
Market Leaders: Three major mobile operators dominate Portugal's telecommunications landscape:
- MEO: Market leader with 747 million euros in revenue (2023), extensive 4G/5G coverage, 5G download speeds of 306.4 Mbps
- NOS: 32.7% mobile broadband market share (Q1 2023), highest average download speeds at 55.7 Mbps
- Vodafone Portugal: Strong network performance with significant 4G/5G infrastructure investment
- Additional players: Lycamobile, NOWO
Source: Portugal Telecom Operators Intelligence Report 2024-2028
Business SMS Relevance: While OTT messaging apps like WhatsApp and Facebook Messenger dominate personal communications, SMS remains the most reliable channel for business use cases including two-factor authentication (2FA), OTP codes, transactional alerts, appointment reminders, and marketing campaigns. SMS delivery rates exceed 95% across Portuguese networks. The mobile market shows a relatively even split between Android and iOS devices, with Android maintaining a slight edge.
What SMS Features Can You Use in Portugal?
Portugal offers comprehensive SMS capabilities including two-way messaging, concatenated messages, and number portability – making it a robust market for business messaging.
Two-Way SMS Support
Send and receive SMS messages in Portugal with no significant restrictions. Build interactive messaging scenarios like customer support conversations, appointment confirmations with user responses, and automated response systems.
Source: SMS Guidelines for Portugal – sent.dm
Concatenated Messages (Segmented SMS)
Support: Yes, all major carriers (MEO, Vodafone, NOS) support concatenation, though support may vary by sender ID type.
Character Limits:
- GSM-7 encoding: 160 characters per segment (single message), 153 characters per segment (concatenated)
- UCS-2 encoding: 70 characters per segment (single message), 67 characters per segment (concatenated)
- Example: A 200-character GSM-7 message splits into 2 segments (153 + 47 characters)
Encoding Considerations: Use GSM-7 encoding for standard Latin characters and UCS-2 for special characters or non-Latin alphabets. UCS-2 messages have shorter per-segment limits.
MMS Support
Send MMS messages to Portugal – they automatically convert to SMS with an embedded URL link to the multimedia content. This ensures compatibility across all devices while allowing you to share rich media content with your customers.
How Does Number Portability Work?
Number portability is fully available in Portugal, regulated by ANACOM with specific technical protocols. Users keep their phone numbers when switching carriers, and this well-established feature doesn't significantly impact message delivery or routing.
Source: ANACOM – Electronic Communications Regulations
Can You Send SMS to Landlines?
No. Attempts to send messages to landline numbers result in failed delivery and generate a 400 response error (code 21614) through SMS APIs. These messages won't appear in logs and won't incur charges.
SMS Compliance Requirements in Portugal: GDPR & ANACOM Regulations
Portugal follows strict EU GDPR requirements and is regulated by ANACOM (Autoridade Nacional de Comunicações), the Portuguese regulatory authority for postal and electronic communications. When sending SMS in Portugal, you must comply with both national telecommunications laws (Law no. 41/2004 on Personal Data Protection and Privacy in Telecommunications, and Law no. 58/2019 implementing GDPR) and EU data protection regulations.
Source: ANACOM Official Website
How Do You Obtain Valid Consent for SMS Marketing in Portugal?
Legal Framework: Article 13-A of Law no. 41/2004 requires explicit individual consent and adequate information disclosure before sending direct marketing communications via SMS.
Source: Portugal Data Protection in Telecommunications – Law no. 41/2004
CNPD Guidelines (January 25, 2022): The CNPD (Comissão Nacional de Proteção de Dados), Portugal's data protection authority, issued its first guidelines on processing personal data in direct marketing electronic communications. These guidelines cover emails, SMS/MMS, and telephone calls.
Source: New CNPD Guidelines On Direct Marketing Electronic Communications – Mondaq
Explicit Consent Requirements:
- Obtain "free, specific, informed, unequivocal, and explicit" consent per GDPR requirements
- Ensure consent corresponds to a positive and explicit act (not pre-checked boxes)
- Obtain written or electronic consent before sending marketing messages
- Clearly state the purpose of messaging during opt-in
- Maintain and easily access consent records
What Does NOT Count as Valid Consent (CNPD Clarification):
- Pre-checked boxes or forms with consent fields already filled in
- Consent obtained as a condition for accessing websites, participating in prize draws, or contests
- Consent bundled with other unrelated purposes
Source: CNPD Guidelines on Direct Marketing – Garrigues Legal Analysis
Best Practices for Consent:
- Implement double opt-in verification
- Store consent timestamps and methods
- Maintain detailed records of consent sources
- Conduct regular consent validation and cleanup
CNPD Enforcement: In 2021, CNPD applied 60 fines totaling €1,491,500. Of these proceedings, 47 were related to unsolicited communications and direct marketing – demonstrating active enforcement of SMS marketing regulations.
Source: Data Protection in Portugal – GDPRhub
What Opt-Out Commands Must You Support?
- Required Keywords: STOP, CANCELAR, PARAR
- Language Requirements: Support both Portuguese and English commands
- Response Time: Process opt-out requests within 24 hours (consent must be withdrawn immediately upon request per CNPD guidelines)
- Confirmation: Send confirmation message after opt-out in Portuguese
Do You Need to Check Do Not Call Registries?
Portugal doesn't maintain a centralized Do Not Call registry. Instead:
- Maintain your own suppression lists
- Honor opt-out requests immediately
- Keep records of blocked numbers
- Implement proactive filtering systems
When Can You Send SMS Messages?
Messaging Hours:
- Permitted: 9:00 AM to 8:00 PM (local time)
- Avoid: Sundays and national holidays
- Exception: Urgent service notifications (non-marketing)
- Time zone: WET (UTC+0) / WEST (UTC+1 during daylight saving time)
What Sender ID Options Are Available?
Alphanumeric Sender ID
Operator Network Capability: Fully supported across MEO, Vodafone, NOS Registration Requirements: No pre-registration required – use dynamically Sender ID Preservation: Yes, sender IDs preserve across all major networks Character Restrictions: Use letters (A-Z), numbers (0-9), and spaces only. No special characters. Naming Conventions: Choose a recognizable brand name or service identifier Length Limit: Up to 11 characters
Long Codes
Domestic vs. International: Both supported Sender ID Preservation: Yes, original sender ID is maintained Provisioning Time: 1-2 business days Use Cases:
- Two-way communication
- Customer support
- Transactional messages
- Authentication services
Short Codes
Support: Not currently supported in Portugal Alternative: Use long codes or alphanumeric sender IDs Migration: Transition businesses using short codes to alternative sender types
Source: ANACOM – Authorized Providers
What Content Is Restricted or Prohibited?
Prohibited Content:
- Gambling without proper licensing
- Adult content
- Illegal substances
- Unauthorized financial services
- Deceptive marketing practices
Regulated Industries:
- Financial services require disclaimers
- Healthcare messages must maintain privacy
- Insurance offers need clear terms
- Credit services require specific disclosures
Carrier Filtering Rules
Carrier Filtering:
- Links must come from approved domains
- Avoid excessive capitalization (e.g., "FREE!!!" or "WIN NOW")
- Avoid spam trigger words: "free," "winner," "urgent," "act now," "limited time"
- Limit to 1-2 URLs per message
Best Practices:
- Use approved URL shorteners (bit.ly, TinyURL)
- Avoid excessive punctuation (!!!!, ????)
- Include clear business identifier in every message
- Maintain consistent sending patterns and volumes
Best Practices for Sending SMS in Portugal
Messaging Strategy
- Keep messages under 160 characters when possible
- Include clear call-to-action
- Personalize using recipient's name
- Maintain consistent brand voice
- Always include opt-out instructions per GDPR and CNPD requirements
Sending Frequency and Timing
- Send maximum 4-5 messages per month per user
- Respect quiet hours (20:00-09:00)
- Avoid holiday periods unless essential
- Space campaigns appropriately
Localization
- Primary language: Portuguese (Portugal variant, not Brazilian Portuguese)
- Consider bilingual messages: Portuguese + English for tourists
- Use proper Portuguese formatting:
- Dates (DD/MM/YYYY)
- Times (24-hour format)
- Currency (€)
Opt-Out Management
- Process opt-outs within 24 hours (required by CNPD guidelines)
- Maintain single-click unsubscribe
- Confirm opt-out status in Portuguese
- Conduct regular database cleaning
- Store opt-out records for compliance audits
Testing and Monitoring
Key Metrics to Track:
- Delivery Rate: Target >95% successful delivery
- Bounce Rate: Keep <5% (check phone number formatting)
- Opt-Out Rate: Industry average 2-5% per campaign
- Response Rate: Track for two-way messaging scenarios
Testing Strategy:
- Test across MEO, Vodafone, and NOS networks
- Monitor delivery rates by carrier
- Conduct regular A/B testing of message content
- Monitor CNPD compliance (consent records, opt-out processing times)
SMS API Integration for Portugal: Twilio, Plivo, Sinch & MessageBird
Twilio SMS API for Portugal
Send SMS messages to Portugal using Twilio's REST API with account SID and auth token authentication. Twilio supports alphanumeric sender IDs, long codes, two-way messaging, and concatenated messages for Portugal.
import { Twilio } from 'twilio';
// Initialize client with 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 Portugal
async function sendSMSToPortugal(
to: string,
message: string,
senderId: string
): Promise<void> {
try {
// Ensure number is in E.164 format for Portugal
const formattedNumber = to.startsWith('+351') ? to : `+351${to}`;
const response = await client.messages.create({
body: message,
from: senderId, // Alphanumeric sender ID or Twilio number
to: formattedNumber,
// 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 Portugal
Integrate Sinch's REST API with JWT authentication for reliable Portugal SMS delivery with delivery reports and status callbacks.
import axios from 'axios';
class SinchSMSClient {
private readonly baseUrl: string;
private readonly apiToken: string;
private readonly servicePlanId: string;
constructor(servicePlanId: string, apiToken: string) {
this.baseUrl = 'https://eu.sms.api.sinch.com/xms/v1';
this.apiToken = apiToken;
this.servicePlanId = servicePlanId;
}
async sendSMS(to: string, message: string): Promise<void> {
try {
const response = await axios.post(
`${this.baseUrl}/${this.servicePlanId}/batches`,
{
from: 'YourBrand', // Alphanumeric sender ID
to: [to], // Array of recipient numbers
body: message,
// Optional delivery report URL
delivery_report_url: 'https://your-webhook.com/delivery'
},
{
headers: {
'Authorization': `Bearer ${this.apiToken}`,
'Content-Type': 'application/json'
}
}
);
console.log('Message sent:', response.data.id);
} catch (error) {
console.error('Failed to send message:', error);
}
}
}MessageBird SMS API for Portugal
Use MessageBird's REST API for straightforward Portugal SMS integration with support for alphanumeric sender IDs and delivery tracking.
import messagebird from 'messagebird';
class MessageBirdClient {
private client: any;
constructor(apiKey: string) {
this.client = messagebird(apiKey);
}
sendSMS(to: string, message: string): Promise<void> {
return new Promise((resolve, reject) => {
this.client.messages.create({
originator: 'YourBrand', // Sender ID
recipients: [to], // Recipient number
body: message,
// Optional parameters
reference: 'your-reference',
reportUrl: 'https://your-webhook.com/status'
}, (err: any, response: any) => {
if (err) {
reject(err);
} else {
resolve(response);
}
});
});
}
}Plivo SMS API for Portugal
Implement Plivo's REST API with basic authentication for cost-effective Portugal SMS delivery with status webhooks.
import plivo from 'plivo';
class PlivoSMSClient {
private client: any;
constructor(authId: string, authToken: string) {
this.client = new plivo.Client(authId, authToken);
}
async sendSMS(to: string, message: string, senderId: string): Promise<void> {
try {
const response = await this.client.messages.create({
src: senderId, // Your sender ID
dst: to, // Destination number
text: message,
// Optional parameters
url: 'https://your-webhook.com/status',
method: 'POST'
});
console.log('Message sent:', response.messageUuid);
} catch (error) {
console.error('Error sending message:', error);
}
}
}API Rate Limits and Throughput
Provider-Specific Rate Limits:
- Twilio: 1 message per second (default), up to 100 messages per second (enterprise)
- Sinch: 30 messages per second (default)
- MessageBird: 20 messages per second (default)
- Plivo: 10 messages per second (default)
- Batch Sending: Up to 500 recipients per request (varies by provider)
- Daily Limits: Contact your provider for account-specific quotas
Strategies for Large-Scale Sending:
- Implement queuing system (Redis/RabbitMQ)
- Use batch APIs when available
- Implement exponential backoff for retries (start with 1 second, max 60 seconds)
- Monitor throughput metrics and adjust sending rate
Error Handling and Reporting
Common Error Codes:
- 21211: Invalid phone number format (check E.164 formatting)
- 21408: Permission to send SMS has not been enabled (account configuration)
- 21614: Attempted to send to landline number (unsupported)
- 30003: Unreachable destination (carrier issue or invalid number)
- 30006: Landline or unreachable carrier
Implementation Best Practices:
- Implement comprehensive logging (timestamp, recipient, status, error codes)
- Monitor delivery receipts in real-time
- Set up alerting for failure thresholds (>5% failure rate)
- Retry failed messages with exponential backoff
- Maintain separate error queues for investigation
Frequently Asked Questions
What are the penalties for non-compliant SMS marketing in Portugal?
CNPD actively enforces SMS marketing regulations. In 2021, CNPD issued 60 fines totaling €1,491,500, with 47 fines specifically for unsolicited communications and direct marketing violations. Penalties vary based on violation severity, but businesses face significant financial consequences for non-compliance with GDPR and CNPD consent requirements.
How do you format Portuguese phone numbers correctly?
Use E.164 format for Portuguese phone numbers: +351 followed by the 9-digit mobile number (e.g., +351912345678). Portugal uses the country code +351, and mobile numbers typically start with 91, 92, 93, or 96.
Validation Regex Example:
^\+351(91|92|93|96)\d{7}$Always validate phone numbers before sending to avoid delivery failures and wasted costs.
Can you use pre-checked consent boxes for SMS opt-ins in Portugal?
No. CNPD guidelines explicitly state that pre-checked boxes or forms with consent fields already filled in do NOT constitute valid consent. Consent must be a positive and explicit act from the user. Additionally, consent obtained as a condition for accessing websites or participating in contests is invalid. Use unchecked boxes that users must actively check.
Which Portuguese mobile operator has the best SMS delivery rates?
All three major operators (MEO, Vodafone, NOS) offer reliable SMS delivery. MEO leads in 5G performance (306.4 Mbps download speeds) and has the highest market share with 747 million euros in revenue (2023). NOS offers the highest average download speeds (55.7 Mbps). Test your messages across all three networks to optimize delivery rates for your specific use case.
What languages should you use for SMS messages in Portugal?
Use Portuguese (Portugal variant, not Brazilian Portuguese) as the primary language. For tourist-facing businesses, consider bilingual messages (Portuguese + English). All opt-out confirmation messages must be in Portuguese per CNPD requirements. Always include opt-out keywords in both Portuguese (PARAR, CANCELAR) and English (STOP).
How quickly must you process opt-out requests in Portugal?
Process opt-out requests within 24 hours according to CNPD guidelines. However, consent must be withdrawn immediately upon user request per GDPR requirements. Best practice: implement automated opt-out processing that removes users from your sending lists within seconds of receiving STOP, PARAR, or CANCELAR keywords.
Does Portugal support short codes for SMS?
No, short codes are not currently supported in Portugal. Use long codes (provisioning time: 1-2 business days) or alphanumeric sender IDs (no pre-registration required, up to 11 characters) as alternatives. Alphanumeric sender IDs work well for one-way transactional messages, while long codes enable two-way communication.
What is ANACOM and how does it regulate SMS?
ANACOM (Autoridade Nacional de Comunicações) is Portugal's regulatory authority for postal and electronic communications. ANACOM regulates number portability, authorized providers, network infrastructure, and telecommunications standards. ANACOM works alongside CNPD to ensure SMS providers comply with both technical telecommunications requirements and data protection regulations.
Key Takeaways and Next Steps
Essential Compliance Requirements
-
Obtain GDPR-Compliant Consent:
- Use CNPD guidelines from January 2022
- Avoid pre-checked consent boxes (invalid per CNPD)
- Clearly state messaging purpose during opt-in
- Maintain detailed consent records for audits
-
Respect Messaging Windows:
- Send only between 9:00 AM and 8:00 PM
- Avoid Sundays and national holidays
- Process opt-outs within 24 hours
-
Technical Implementation:
- Use E.164 number formatting (+351XXXXXXXXX)
- Implement proper error handling
- Monitor delivery rates across MEO, Vodafone, NOS
- Test thoroughly on all three major networks
-
Localization Requirements:
- Use Portuguese language (Portugal variant)
- Format dates (DD/MM/YYYY) and times (24-hour)
- Consider cultural context
-
Enforcement Awareness:
- CNPD issued 47 fines for unsolicited communications in 2021
- Total fines: €1,491,500
- Active enforcement of SMS marketing violations
Implementation Checklist
- Review ANACOM regulations and authorized provider lists (1-2 days)
- Implement GDPR-compliant consent management system per CNPD guidelines (1-2 weeks)
- Set up monitoring and reporting across MEO, Vodafone, and NOS (3-5 days)
- Test message delivery across all three networks (2-3 days)
- Establish consent record-keeping and audit procedures (1 week)
- Configure automated opt-out processing (<24 hours) (2-3 days)
- Implement time-window restrictions (9:00-20:00) (1 day)
Additional Resources
- ANACOM Official Website – Portuguese telecommunications regulator
- CNPD – Portuguese Data Protection Authority – Data protection and GDPR enforcement
- EU GDPR Guidelines – European data protection regulations
- ETSI SMS Technical Standards – European telecommunications standards
- Portugal Telecom Market Reports – Mordor Intelligence – Market analysis and statistics
Industry Resources:
- Mobile Marketing Association Guidelines
- Portuguese Direct Marketing Association
- European Communications Standards Institute
- GDPRhub Portugal Resources
Frequently Asked Questions
How to send SMS messages in Portugal?
Use a reputable SMS API provider like Twilio, Sinch, MessageBird, or Plivo. Ensure the recipient's number is in E.164 format (+351 followed by the number) and comply with local regulations like GDPR and ANACOM guidelines. Choose an appropriate sender ID type, either alphanumeric or long code.
What is the best time to send SMS in Portugal?
The permitted messaging hours are between 9:00 AM and 8:00 PM local time, avoiding Sundays and national holidays. Portugal observes WET (UTC+0) and WEST (UTC+1) time zones. Urgent service notifications are an exception to these time restrictions.
Why does Portugal not support short codes for SMS?
Short codes are not supported in Portugal. Businesses should use long codes or alphanumeric sender IDs as alternatives for their SMS campaigns. Existing users of short codes should migrate to these supported options.
What are the character limits for SMS in Portugal?
Standard SMS messages are limited to 160 characters when using GSM-7 encoding. If you use UCS-2 encoding for special characters or non-Latin alphabets, the limit is reduced to 70 characters before the message is split into segments.
Can I send SMS to landlines in Portugal?
No, sending SMS to landline numbers in Portugal is not supported. Attempts to do so will result in failed delivery and a 400 response error (code 21614) via SMS APIs, without appearing in logs or incurring charges.
How to get consent for SMS marketing in Portugal?
Explicit written or electronic consent must be obtained before sending marketing messages, adhering to GDPR guidelines. Pre-checked boxes are invalid, and consent records must be maintained and accessible. Double opt-in and clear purpose statements are recommended best practices.
What are the required STOP keywords for SMS in Portugal?
Portuguese law mandates support for the keywords STOP, CANCELAR, and PARAR for SMS opt-outs. These keywords must be recognized in both Portuguese and English, and opt-out requests should be processed within 24 hours with a confirmation message to the user.
What is the process for sending marketing SMS in Portugal?
Obtain explicit consent, adhere to messaging hours (9:00 AM to 8:00 PM), and use approved sender IDs. Keep messages concise, personalized, and localized in Portuguese, respecting frequency limits (4-5 per month). Comply with GDPR, ANACOM, and other regulations.
How do I handle opt-outs for SMS campaigns in Portugal?
Process opt-out requests within 24 hours using the keywords STOP, CANCELAR, or PARAR. Implement a single-click unsubscribe mechanism and confirm the opt-out status to the user. Regularly clean your database to remove unsubscribed numbers.
What SMS API integrations are available for Portugal?
Several providers offer SMS APIs for Portugal, including Twilio, Sinch, MessageBird, and Plivo. These APIs typically use REST architecture and various authentication methods, allowing for easy integration with your systems.
When should I use alphanumeric sender IDs in Portugal?
Alphanumeric sender IDs are ideal for branding and recognition in Portugal. They are fully supported, don't require pre-registration, and are preserved across major networks. Keep them under 11 characters.
Why is MMS automatically converted to SMS in Portugal?
MMS messages are automatically converted to SMS with a URL link to the multimedia content. This ensures broader compatibility across all devices and networks in Portugal while enabling rich media sharing.
What are the compliance requirements for SMS in Portugal?
Compliance with GDPR and ANACOM regulations is crucial. This includes obtaining explicit consent for marketing messages, respecting messaging hours, honoring opt-out requests, and ensuring content complies with restrictions on gambling, adult content, and other prohibited topics.
What are the best practices for SMS marketing in Portugal?
Focus on localization by using Portuguese, appropriate date/time formats, and cultural context. Obtain explicit consent, personalize messages, and respect user preferences. Monitor deliverability and adhere to best practices to avoid content filtering.