Skip to main content

Create a license

POST 

/products/{product_id}/plans/{plan_id}/pricing/{pricing_id}/licenses.json


Create a new license for the plan and pricing. Please note that:

  1. Either period or expires_at or is_block_features must be set.
  2. If you create a license with is_block_features set to false and do not specify period and expires_at, the license will never expire or block features and will continue to work for lifetime.
  3. If you specify an email address, the user must have already activated a license or installed your product before. If your user has not activated a license, then please don't use the field and when they activate the license we will collect their email and register the user with Freemius.
  4. Use the source parameter only when creating migrated licenses from a legacy system.

More information about every other parameters can be found below.

Request

Responses

The license created successfully.