Welcome to the Freemius API Documentation!
You can use our API to access Freemius API endpoints, which can get information on various aspects of Freemius.
If you're using Freemius for a WordPress product, please check out our official SDK.
We support Bearer authentication. You can get the API Key from the Freemius Developer Dashboard for a product.
More information can be found under the Security section of every endpoint.
https://api.freemius.com/v1/
https://docs.freemius.com/_mock/api/
The expiry date of the trial. If set, will set the trial expiration based on that parameter. Note: Trial expiration date cannot exceed the maximum trial period days based on the plan configuration.
Whether emails will be sent to users or log events. If true
, no emails will be sent nor events logged.
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/plans/{plan_id}/trials.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/plans/{plan_id}/trials.json
curl -i -X POST \
'https://api.freemius.com/v1/products/1234/installs/1234/plans/1234/trials.json?fields=id%2Cname%2Cslug' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'
Started Trial
A trial represents a user's trial period for a product. Please read our documentation to learn more about trials.
{ "trial": { "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "plugin_id": "123456", "user_id": "123456", "payment_id": "123456", "subscription_id": "123456", "license_id": "123456", "trial_ends_at": "2025-01-01 00:00:00", "with_payment_method": true, "canceled_at": "2025-01-01 00:00:00", "converted_at": "2025-01-01 00:00:00", "environment": 0 } }
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/uninstall.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/uninstall.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/1234/uninstall.json?fields=id%2Cname%2Cslug' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
The uninstall details.
The date and time the entity was created, under UTC timezone.
The date and time the entity was updated, under UTC timezone. If null
then the entity was never updated since its creation.
The ID of the installation or site the entity is associated with.
Uninstall reason. Possible values:
1
- No longer needed2
- Found a better alternative3
- Only needed for short period4
- Broke the website5
- Suddenly stopped working6
- Cannot continue paying7
- Other8
- Didn't work after installation9
- User doesn't like to share data10
- Didn't understand how it works11
- Missing specific feature12
- Didn't work13
- Expected something else14
- Expected to work differently15
- Temporary deactivationAdditional information gathered from the user for the uninstallation. This is populated when the product user chooses “Other” in contrast to pre-set options.
{ "id": "123456", "created": "2025-01-01 00:00:00", "updated": "2025-01-01 00:00:00", "plugin_id": "123456", "install_id": "123456", "site_id": "1234", "reason_id": 1, "reason_info": "string", "reason": "string" }
The product's version of the current install. The endpoint will return newer versions when set. This is a required param unless older_than
is provided.
If provided, only versions that are older than this will be returned.
The product type. If the type provide is all
, the latest released
or pending
version will be returned, whichever has the higher version.
The number of records to skip before starting to return records. Default is 0.
https://api.freemius.com/v1/products/{product_id}/installs/{install_id}/updates.json
https://docs.freemius.com/_mock/api/products/{product_id}/installs/{install_id}/updates.json
curl -i -X GET \
'https://api.freemius.com/v1/products/1234/installs/1234/updates.json?count=10&fields=id%2Cname%2Cslug&offset=10&older_than=1.0.0&type=released&version=1.0.0' \
-H 'Authorization: Bearer <YOUR_AccessToken_HERE>'
{ "tags": [ { … } ] }