Skip to main content
The customer portal has no password. A customer signs in with a link sent to their email address, or you send them straight in from your own application.

Signing in by email

The customer enters the email address you have on file and receives exactly one mail. It carries both: the link and a six-digit code. Nothing has to be requested a second time if they read the mail on another device.
Sign-in page with an email field and a send button

The entry point: one email address, one click.

1

Enter the address

The customer sees the same confirmation after sending, even for an address that is not known. The form therefore cannot be used to find out who your customers are.
Confirmation that a link and a code were sent to the address entered

After submitting: link and code are on their way.

2

Open the link or enter the code

The link leads straight into the portal. Anyone reading the mail on a different device chooses Enter code and types the code from that same mail instead.
Page for entering the confirmation code from the email

The code from the mail as the second way in.

3

Signed in

After sign-in the portal shows the sections you have enabled for the sales channel.
Customer portal immediately after sign-in, with the organisation's branding

The portal right after sign-in.

The sign-in link is single use and expires afterwards. If the customer opens it a second time, for instance because a mail client prefetched it, they see Link expired and request a new one with Send a new email.
Notice that the link has expired, with the option to request a new one

A link that has already been used or has expired.

How long a session lasts

The session is renewed in the background. How long it holds without a fresh sign-in is a fixed setting and cannot be chosen through the API. Sign out ends that one session. Other devices stay signed in, so signing out on a phone does not end the session on a desktop.

Sending a sign-in email from the app

You can also send the sign-in mail yourself, for instance in support. Both the app and the API route are described under Customer Portal.

A portal session from your application

When your customers are already signed in to your own application, they should not sign in to Fynn a second time. Your backend creates a portal session and redirects the customer to the URL it returns.
The response carries the finished URL:
Always create the session in your backend, never in the browser. The call needs your API token, and that does not belong in a web application.

The three scopes

scope decides how far a session reaches. A narrow session cannot reach the remaining data, not even through the address bar.

Lifetime

Without a value a session lasts 15 minutes, the maximum is 60. An issued session cannot be withdrawn early, so keep the lifetime short. For a jump out of your own application 15 minutes are plenty, because the customer clicks right away.

Returning to your application

returnUrl is signed into the token and handed back in the response. No page leads back there on its own yet, so keep the way back in your own application, for instance by opening the portal in its own tab.

When the call is refused

You only need token from the response if you embed a page. For a redirect, url is enough.
The full fields, error codes and the webhook are in the API reference.