Move your Resend account from the terminal
@billionsend/cli reads your Resend account, compares it with your BillionSend account, applies the difference and writes a report. Resend is only read, never changed.
What Command line does
Moves what matters
Contacts, segments, topics, properties, templates, webhooks, domains, suppressions and draft broadcasts. Webhook signing secrets are copied so your receivers keep verifying.
Opt-outs are kept
Unsubscribed contacts and topic opt-outs are copied as they are. Nobody is re-subscribed.
Preview before anything changes
migrate plan is read-only. It checks your plan's limits first and tells you what does not fit. It exits 0 when there is nothing to do and 2 when there are changes, which is handy in scripts.
Safe to run again
Contacts are matched by email, everything else by name, key or endpoint. Run it once now and again just before you switch, and only the difference moves. An interrupted run resumes where it stopped.
Roll back what it created
migrate rollback deletes only what the tool created, never rows it only updated. migrate status shows what the last run created and what is left on the checklist.
Built for scripts and CI
Pass keys by environment variable or stdin, add --json for machine-readable output, and it never asks a question when stdin is not a terminal. No telemetry, no update check.
Preview, apply, check
Needs Node 18 or newer. Set your Resend key and your BillionSend key with full access, then run:
export RESEND_API_KEY=re_your_resend_keyexport BILLIONSEND_API_KEY=bs_your_api_keynpx @billionsend/cli migrate plan --from resend --out plan.jsonnpx @billionsend/cli migrate apply plan.json --yesnpx @billionsend/cli migrate status