SDKs & Libraries
Official SDKs, the MCP server, and the OpenAPI spec for the Sendbound API.
Node.js / TypeScript
Install the official SDK:
npm install @sendbound/node
# or
pnpm add @sendbound/nodeSend your first email in three lines:
import { Sendbound } from '@sendbound/node';
const sb = new Sendbound({ apiKey: process.env.SENDBOUND_API_KEY });
await sb.emails.send({
to: 'user@example.com',
from: 'hello@yourdomain.com',
subject: 'Welcome',
html: '<p>Thanks for signing up.</p>',
});The Node SDK is in beta. All endpoints documented in this reference are supported.
Python
pip install sendboundfrom sendbound import Sendbound
sb = Sendbound(api_key=os.environ["SENDBOUND_API_KEY"])
sb.emails.send(
to="user@example.com",
from_="hello@yourdomain.com",
subject="Welcome",
html="<p>Thanks for signing up.</p>",
)MCP Server — AI assistants
The Sendbound MCP Server lets Claude Desktop, Cursor, and any MCP-compatible AI assistant control Sendbound directly from natural language.
{
"mcpServers": {
"sendbound": {
"command": "npx",
"args": ["-y", "@sendbound/mcp-server"],
"env": {
"SENDBOUND_API_KEY": "sk_live_your_key_here"
}
}
}
}OpenAPI spec
The machine-readable OpenAPI 3.1 spec is available at:
https://api.sendbound.com/openapi.jsonOr download it directly from this site:
curl -O https://docs.sendbound.com/api-docs/openapi.jsonImport into Postman, Insomnia, or use Speakeasy to auto-generate an SDK for any language.
SMTP relay
Sendbound also exposes a standard SMTP relay endpoint — useful if you want to route email from an existing application without changing code:
| Setting | Value |
|---|---|
| Host | smtp.sendbound.com |
| Port | 587 (STARTTLS) or 465 (SSL) |
| Username | apikey |
| Password | Any API key (sk_live_...) from your dashboard |

