Comprehensive email and SMS testing service that captures all messages for inspection without sending real communications.
Send test emails without delivery. Perfect for development and testing.
Test SMS messages with Twilio-compatible API endpoints.
Multiple authentication methods with API key management.
Get started in minutes with magic link authentication.
Visit the MockSend Dashboard and create an account using magic link authentication.
Open DashboardOrganizations allow you to manage team access and separate different projects or environments.
Navigate to your organization and create credentials:
Use the generated credentials to send test messages through our API endpoints.
MockSend supports multiple authentication methods to accommodate different integration patterns:
Authorization: Bearer api_your_token_hereAuthorization: API-Key api_your_token_here
# OR
X-API-Key: api_your_token_here
# OR
API-Key: api_your_token_hereAuthorization: Basic base64(account_sid:api_token)/api/v1/email/sendSend a single email message
Content-Type: application/json
Authorization: Bearer api_your_token_here{
"to": "[email protected]",
"from": "[email protected]",
"subject": "Your email subject",
"html": "<h1>HTML content</h1><p>Rich text email content</p>",
"text": "Plain text version of your email content",
"cc": ["[email protected]", "[email protected]"],
"bcc": ["[email protected]"],
"replyTo": "[email protected]"
}{
"id": "msg_abc123def456",
"status": "queued",
"to": "[email protected]",
"from": "[email protected]",
"subject": "Your email subject",
"created_at": "2024-01-15T10:30:00Z"
}curl -X POST http://localhost:3000/api/v1/email/send \
-H "Content-Type: application/json" \
-H "Authorization: Bearer api_your_token_here" \
-d '{
"to": "[email protected]",
"from": "[email protected]",
"subject": "Welcome to Our Service",
"html": "<h1>Welcome!</h1><p>Thanks for signing up.</p>",
"text": "Welcome! Thanks for signing up."
}'MockSend provides two SMS API formats for maximum compatibility:
/api/v1/sms/sendGeneric SMS API endpoint
Content-Type: application/json
Authorization: Bearer api_your_token_here
X-Account-Sid: AC_your_account_sid_here{
"to": "+1234567890",
"from": "+0987654321",
"body": "Your SMS message content here",
"mediaUrl": "https://example.com/image.jpg"
}{
"sid": "SM_abc123def456",
"account_sid": "AC_your_account_sid",
"to": "+1234567890",
"from": "+0987654321",
"body": "Your SMS message content here",
"status": "queued",
"direction": "outbound-api",
"date_created": "2024-01-15T10:30:00Z",
"price": null,
"price_unit": "USD",
"uri": "/Messages/SM_abc123def456"
}/api/v1/accounts/{AccountSid}/messagesTwilio-compatible SMS API endpoint
# Basic Auth with Account SID as username, API Token as password
Authorization: Basic base64(AC_your_sid:api_your_token)curl -X POST http://localhost:3000/api/v1/accounts/AC_your_sid/messages \
-u "AC_your_sid:api_your_token" \
-H "Content-Type: application/json" \
-d '{
"To": "+1234567890",
"From": "+0987654321",
"Body": "Test message from MockSend"
}'{
"error": {
"code": "invalid_parameter",
"message": "The 'to' field is required",
"param": "to",
"type": "invalid_request_error"
}
}X-RateLimit-Limit: 100
X-RateLimit-Remaining: 95
X-RateLimit-Reset: 1642234567