Check product status
GEThttps://api.freemius.com/v1/products/{product_id}/is_active.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.
Check if the product is active.
Request
Query Parameters
- If your product is already active in some device before joining Freemius - Set value to
true. - Otherwise set value to
false.
You can use this flag in conjunction with the Moderation Setting of your product.
In case you want to limit the activation of your product to new instances only (say after migrating to Freemius) you can check the relevant settings from the Developer Dashboard and from your product make an API request like below:
This will also work with any “Activation limitation” you have put in your Moderation settings.
Responses
- 200
- 400
- 401
- 402
- 404
Product status.
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.