Assign a license
PUThttps://api.freemius.com/v1/products/{product_id}/licenses.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.
Associate an orphan license with a user and send a welcome email. If the user does not exist yet, one will be created.
Request
Query Parameters
Bodyrequired
Responses
- 200
- 400
- 401
- 402
- 404
The license is assigned.
Schema
Guide the Freemius WP SDK when the product should be running in a white-label mode.
The source of the migration data. To get support migrating from other platform please see our documentation.
0- Freemius1- Other2- Easy Digital Downloads (EDD)3- WooCommerce (WC)4- Rating Widget5- Gumroad6- CodeCanyon7- ThemeForest8- AppSumo9- SendOwl10- WHMCS11- Lemon Squeezy
Bad request. The request could not be understood by the server due to malformed syntax or arguments.
Schema
Unauthorized access error. The request requires authentication but was not provided or the provided authentication does not satisfy the required permissions.
Schema
The request is missing the specified argument.
Schema
The requested resource was not found.