Generate portal login link
POSThttps://api.freemius.com/v1/products/{product_id}/portal/login.json
Auth:Bearer TokenSCOPE: PRODUCT
Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.
- Go to the Freemius Developer Dashboard.
- Open the Settings page of the relevant product.
- Click the API & Keys tab.
- Copy the API Bearer Authorization Token from the UI.
Generate a direct login link for a user in the context of the store of the product. The login link is valid for 5 minutes from generation. Either user ID or email must be provided.
Request
Responses
- 201
- 400
- 404
Portal login link generated successfully.
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Schema
The requested resource was not found.