All guides
Migrate from Postmark
Step-by-step guide to switch from Postmark
Migration steps
1. Update your API key
Replace Postmark server token with SendPigeon API key.
Before (Postmark)
POSTMARK_SERVER_TOKEN=xxx...After (SendPigeon)
SENDPIGEON_API_KEY=sk_live_abc123...2. Update imports
Similar client initialization pattern.
Before (Postmark)
import * as postmark from "postmark";
const client = new postmark.ServerClient(
process.env.POSTMARK_SERVER_TOKEN
);After (SendPigeon)
import { SendPigeon } from "sendpigeon";
const client = new SendPigeon(process.env.SENDPIGEON_API_KEY);3. Update send calls
Nearly identical field names.
Before (Postmark)
await client.sendEmail({
From: "hello@yourdomain.com",
To: "user@example.com",
Subject: "Hello",
HtmlBody: "<p>Welcome!</p>",
});After (SendPigeon)
await client.send({
from: "hello@yourdomain.com",
to: "user@example.com",
subject: "Hello",
html: "<p>Welcome!</p>",
});Ready to switch?
Get started with 1,000 free emails per month.
Start for free