SMS Quickstart
Send SMS messages through AWS with the Wraps SMS SDK.
Deploy production-ready SMS infrastructure to your AWS account and send your first text message.
Before you begin, make sure you have:
Run the Wraps CLI to deploy SMS infrastructure to your AWS account:
npx @wraps.dev/cli sms initWhat happens during deployment?
Install the @wraps.dev/sms package:
npm install @wraps.dev/sms
Create a new file and send an SMS using the SDK:
import { WrapsSMS } from '@wraps.dev/sms';// Initialize the clientconst sms = new WrapsSMS();// Send an SMSconst result = await sms.send({ to: '+14155551234', message: 'Your verification code is 123456',});console.log('SMS sent:', result.messageId);Note: Phone Number Format
Phone numbers must be in E.164 format (e.g., +14155551234). The SDK will validate the format before sending.
Learn about batch sending, opt-out management, and advanced features.
View SDK DocsExplore all CLI commands for managing your SMS infrastructure.
View CLI Docs