Create a user
POSThttps://api.freemius.com/v1/products/{product_id}/users.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.
Create a new user associated with the product.
The user will be linked to the product if they already exist in Freemius.
User can only be created for products with elevated permissions or during data migration.
Migrating users from other platforms
Freemius allows to migrate your users from other platforms. To do so, you need to set the is_migration parameter to true. This will prevent any emails from being sent to the users and will not log any events.
Once migrated the user can use their existing licenses to activate your product.
Request
Query Parameters
Bodyrequired
The source of the migration data. To get support migrating from other platform please see our documentation.
Responses
- 201
- 400
- 401
- 402
OK
Schema
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.