The portal URL
Every organization’s portal lives at:
To sign in:
- The customer enters the email they bought with.
- Polar emails them a 6-digit code, valid for 30 minutes.
- They enter the code and land in the portal.
Copy a link from the dashboard
To send one customer straight into their portal, for example from a support conversation:- Open Customers and select the customer
- Open the ⋮ menu and click Copy Customer Portal
- Paste the link to the customer. It signs them in without an email code and expires after one hour
Pre-authenticated links
When the customer is already signed in to your app, skip the email code. Create a customer session on your server and redirect the customer to itscustomer_portal_url:
The session expires after one hour. Create it when the customer clicks, and don’t store the URL. The examples use the sandbox and API version
2026-10.
Creating a customer session is API only. Not available from the CLI or MCP server. For a one-off link, copy it from the dashboard.
With a framework adapter
The Next.js adapter turns this into one route handler:app/portal/route.ts
/portal from your app, and the customer lands in the portal signed in. Use environment: "production" when you go live. Other adapters offer a Customer Portal handler too, but some take Polar’s customer ID (getCustomerId) instead of yours. Check the adapter’s page.
Emails Polar sends
Most emails Polar sends your customers link to the portal, including:- Order and subscription confirmations
- Renewal and trial conversion reminders
- Past-due payment and card expiring notices
- Subscription updated, paused, resumed, canceled and revoked notices

