Developer platform

Developers love Memberstack

Memberstack rocks without code — but it's even better with it. Take auth, payments and member data beyond the dashboard with one DOM, REST & Node API suite.

Free until launchType-safeOpen SDKs
auth.js
import memberstackDOM from "@memberstack/dom";

const memberstack = memberstackDOM.init({
  publicKey: "pk_sb_xxxxxxxx",
});

// Log a member in — no backend required
await memberstack.loginMemberEmailPassword({
  email: "you@studio.com",
  password: "supersecret",
});

const { data } = await memberstack.getCurrentMember();
console.log("Welcome back, " + data.auth.email);
$ npm i @memberstack/dom
Quickstart

From install to logged-in member in 5 minutes.

01

Install the package

Add the SDK that matches your stack from npm — or paste the script tag into Webflow.

02

Initialize with your key

One init call with your public or secret key connects you to the same members as the dashboard.

03

Call any method

Sign members up, gate content, manage plans and read member data with fully typed methods.

zsh — your-project
$
What you can build

Your dashboard, scripted

Everything you can do by clicking in Memberstack, you can do in code — and a lot more.

Custom auth flows

Build sign-up, login and password reset exactly how you designed them — no Memberstack modal required.

Headless frontends

Read member state from any frontend with the DOM package — wire auth into your own UI, no Memberstack modal required.

Server-side member sync

Create, update and enroll members from your backend the moment they convert anywhere else.

Programmatic billing

Launch Stripe checkout, swap plans and read subscription status straight from code.

Webhooks & automations

React to member events in real time — kick off onboarding, sync a CRM, fire a Slack ping.

Rich member data

Store and query custom JSON on every member to power dashboards, gating and personalization.

Community

Build alongside 6,500+ developers

Join our Slack to swap snippets, get unstuck fast, and see what other devs are shipping with the Memberstack API. Learn, teach, and make friends along the way.

6,500+
developers in Slack
$200M+
processed via Stripe
100,000+
builders
4.7
rating on G2
#
dev-help
6,500 members · 312 online
live
D
Dana9:41

just shipped passwordless login with the DOM package — took 20 min 🔥

M
Marco9:43

the Node SDK types are *chef's kiss*. autocomplete for every plan method.

P
Priya9:46

anyone using webhooks to sync members to Airtable? happy to share my setup

SSam is typing
FAQ

Questions, answered

Yes. Every API package is included on the free plan and stays free until you launch — no credit card required. You only pay once you're ready to go live and add a paid plan.

The DOM package runs in the browser with your public key and handles member-facing auth and UI. The Admin REST API and Node SDK run on your server with a secret key for privileged operations like creating members and managing plans.

Use your public key (pk_…) on the client with the DOM package — it's safe to expose. Keep your secret key (sk_…) on the server only, for the Admin REST and Node packages.

Yes — the DOM and Admin Node packages ship with full TypeScript definitions, so every method, member object and plan is autocompleted and type-checked in your editor.

Absolutely. We publish llms.txt and llms-full.txt for context, and an MCP server so AI coding tools can read the docs and scaffold Memberstack code for you.

Try Memberstack for free

100% free, unlimited trial — upgrade only when you're ready to launch. No credit card required.

Get Started for free