Documentation Index
Fetch the complete documentation index at: https://docs.fynn.eu/llms.txt
Use this file to discover all available pages before exploring further.
Generates authentication tokens and a pre-authenticated link to the customer portal.
Use Cases
- Customer Portal Access: Generate a link that allows customers to access their portal without entering credentials
- API on Behalf of Customer: Use the access token to make API calls on behalf of the customer
- Email Integration: Include the customer area link in emails to provide seamless access
Response
The endpoint returns:
| Field | Description |
|---|
accessToken | JWT access token for API authentication on behalf of the customer |
refreshToken | JWT refresh token to obtain new access tokens |
customerAreaLink | Pre-authenticated short link to the customer portal |
Example Response
{
"data": {
"accessToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
"customerAreaLink": "https://example.customerfront.app/customer-area/login?token=abc123"
}
}
The customerAreaLink contains a short-lived token. Generate a new link if the customer needs to access the portal at a later time.
Use the accessToken to make API calls on behalf of the customer, for example to retrieve their entitlements or subscriptions.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Returns authentication tokens and a customer area link for the customer