Guides
Sending Email
Send via REST, SDK, or SMTP
REST API
BASH
curl -X POST https://api.pulsesend.dev/emails \
-H "Authorization: Bearer $PULSE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"to": "ada@example.com",
"subject": "Order confirmed",
"html": "<h1>Thanks!</h1>"
}'
Node.js SDK
TS
import { PulseSend } from "@pulsesend/sdk"
const ps = new PulseSend({ apiKey: process.env.PULSE_API_KEY! })
await ps.emails.send({ to: "ada@example.com", subject: "Hi", html: "<strong>Welcome</strong>" })
SMTP
TXT
SMTP Host: smtp.pulsesend.dev
Port: 587 (STARTTLS) or 465 (TLS)
Username: api
Password: <your API key>