← Back to site
Docs • v0

SDKs

Node.js

Using the Node.js SDK

Install SDK

BASH
npm i @pulsesend/sdk
# or
bun add @pulsesend/sdk

Initialize client

TS
import { PulseSend } from "@pulsesend/sdk"
const ps = new PulseSend({ apiKey: process.env.PULSE_API_KEY! })

Send example

TS
await ps.emails.send({ to: "dev@example.com", subject: "Hello", html: "<p>Hi there</p>" })
Was this helpful? Coming soon.