Skip to main content
Customers reach the Customer Portal in three ways: the public URL, a pre-authenticated link from you or your app, or the emails Polar sends them.

The portal URL

Every organization’s portal lives at: To sign in:
  1. The customer enters the email they bought with.
  2. Polar emails them a 6-digit code, valid for 30 minutes.
  3. They enter the code and land in the portal.
Use this URL where you need a stable link: your website footer, help center or support replies. 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
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 its customer_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
Link to /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
You choose which emails are sent under Settings → Customer Notifications. Turning an email off also removes that path to the portal, so keep a link in your own app.

Learn more