Introduction
TSP Scale provides enterprise-grade transactional email infrastructure. Our platform is built for speed, security, and developer productivity.
SDKs & Integration
Integrate TSP Scale into your stack using our official, lightweight, and type-safe packages.
CLI & Shell Guide
The Node CLI works on Windows, Linux, and macOS. Bash and PowerShell helpers are available for shell-native workflows.
Cross-platform install
Use npm install -g tsp-scale-curl on any platform. Windows users can also run irm https://api.tspscale.in/curl.ps1 | iex for a PowerShell bootstrap.
curl -fsSL https://tspscale.in/tsp-scale-curl.sh -o tsp-scale-curl.sh
chmod +x tsp-scale-curl.sh./tsp-scale-curl.sh \
--api-key "your_api_key" \
--payload '{
"from": "sender@yourdomain.in",
"to": "recipient@example.in",
"subject": "Hello from cURL",
"html": "<h1>Sent via Bash</h1>"
}'Authentication
Authorize your requests by including the x-api-key header in every outgoing HTTP call.
Required Header
x-api-key: YOUR_API_KEY
Keep your API key secure. If a key is compromised, rotate it immediately in the API Management dashboard.
Send Email
The primary endpoint for sending transactional messages. Supports both HTML and plain-text content.
Endpoint URL
https://api.tspscale.in/api/v1/emails/send| Parameter | Description |
|---|---|
fromRequired | Verified sender address from your .in domain. |
toRequired | Recipient address or list of addresses. |
subjectRequired | The email subject line. |
htmlOptional | Rich HTML content for the email body. |
Domain Verification
To maintain high deliverability, every sender must verify their domain using SPF and DKIM records.
DNS changes typically take 15-60 minutes to propagate globally. Our system will automatically update your domain status once records are detected.
Inbox System
The Inbox API allows you to programmatically receive and parse inbound messages, perfect for building support desks or automated reply flows.
For real-time inbound processing, we recommend configuring webhooks. This pushes inbound payloads directly to your server as soon as they arrive.
Email Sending Guidelines
To maintain high deliverability and protect the reputation of TSP Scale's infrastructure, all senders must adhere to the following best practices.
Authentication Requirements
- SPF (Sender Policy Framework): Required. Authorizes our IPs to send on your behalf.
- DKIM (DomainKeys Identified Mail): Required. Cryptographically signs your emails to prevent tampering.
- DMARC: Highly recommended. Tell receiving servers how to handle emails that fail authentication.
IP Warm-up & Reputation
If you are a new sender, you must gradually increase your sending volume over several weeks. ISPs (like Gmail and Yahoo) monitor sudden spikes in volume from new IPs and may block your traffic.
- Start with < 100 emails/day
- Double your volume every 3-4 days
- Monitor bounce and complaint rates heavily during warm-up
List Hygiene & Unsubscribes
- Never use purchased, rented, or scraped lists.
- Honor all unsubscribe requests within 24 hours.
- Remove hard bounces (invalid addresses) immediately to avoid damaging your reputation.
- If you receive a spam complaint rate exceeding 0.1%, your account may be subject to review.
WordPress Integration
You can connect TSP Scale to any WordPress site in less than 2 minutes without writing a single line of code. We recommend using the free WP Mail SMTP plugin.
1Install WP Mail SMTP
Log in to your WordPress Admin dashboard. Go to Plugins > Add New, search for WP Mail SMTP, and click Install & Activate.
2Configure Settings
Navigate to the plugin settings and select Other SMTP as your mailer. Fill in the exact credentials below:
| SMTP Host | smtp.tspscale.in |
| Encryption | TLS |
| SMTP Port | 587 |
| Authentication | ON |
| SMTP Username | Any name (e.g. API Key) |
| SMTP Password | Paste your TSP Scale API Key here. |