Create portal session by external ID
Creates a portal session for the customer, returning a short-lived URL that provides
authenticated access to the customer’s billing portal. The session expires after
expires_in_minutes (default 60, max 180). By default, creating a new session invalidates
any other active portal sessions for the customer; pass invalidate_existing=false to
allow concurrent sessions.
Authorizations
API Keys can be issued in the Orb's web application.
Path Parameters
Body
Duration in minutes until the portal session expires. Defaults to 60. Maximum 180.
1 <= x <= 180When true (default), creating this session soft-deletes any other active portal sessions for the customer. Set to false to allow concurrent sessions — useful when minting portal links for multiple authenticated end-users at once. The customer's permanent portal link (if any) is never invalidated by this.