Guide

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.

Terminal — Download
curl -fsSL https://tspscale.in/tsp-scale-curl.sh -o tsp-scale-curl.sh
chmod +x tsp-scale-curl.sh
Terminal — Send
./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>"
}&apos;

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.

POST

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
ParameterDescription
from
Required
Verified sender address from your .in domain.
to
Required
Recipient address or list of addresses.
subject
Required
The email subject line.
html
Optional
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 Propagation

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.

Webhook Integration

For real-time inbound processing, we recommend configuring webhooks. This pushes inbound payloads directly to your server as soon as they arrive.