Developers
From zero to a delivered email in three steps.
- 01
Install
Pick a library, or use plain HTTP.
npm install https://tsmart.ai/sdk/node/tsmart-sdk-1.2.0.tgz pip install https://tsmart.ai/sdk/python/tsmart-1.2.0-py3-none-any.whl - 02
Set your key
Create an API key in your workspace and export it.
export TSMART_API_KEY=ts_xxxxxxxx_… - 03
Send
From a domain you verified.
await tsmart.emails.send({ from: "[email protected]", to: ["[email protected]"], subject: "Hello", text: "It works.", });
Tools and references
- npmNode.jsTyped library for Node.js 18 or later.Node.js guide →
- pipPythonLibrary for Python 3.8 or later.Python guide →
- cliCommand lineSend, list and inspect from your terminal.CLI guide →
- mcpMCP serverConnect an AI agent with a scoped key.MCP guide →
- httpREST APIEvery endpoint, request and response.API reference →