This section explains all the API commands that you can use to control your software usage.
The following examples are in PHP, but the process is the same for all programming languages, a POST request to the website URL with the required parameters.

API Parameters

// The post url is your WordPress website URL where the plugin is installed
// If the your WordPress installation is in a sub-folder the URL to that sub-folder
// should be used instead. Example:
$post_url = '';

$parameters = array(
	// The API command
	// The fslm_v2_api_request parameter takes one of the following values
	// verify, activate, deactivate, details, extra_data
	'fslm_v2_api_request' => 'YOUR COMMAND GOES HERE',

	// Your API Key
	// You can set your API key in the page
	// License Manager > Settings > API
	'fslm_api_key'        => 'YOUR API KEY GOES HERE',

	// The License Key
	'license_key'         => 'YOUR LICENSE KEY GOES HERE',

	// The device ID
	// The Device ID is optional, but if it is used and the license keys was activated with it
	// it becomes required, a license key activated with a Device ID can't be deactivated
	// without it and can't be activated again without it.
	// The device ID can be anything you want, its role is to identify the "Device",
	//  "Machine" or "Domain" where the license was activated.
	'device_id'           => 'YOUR DEVICE ID GOES HERE'

Activation/Verification with a Device ID:

If you send an activation request with a valid Device ID (the Device ID that was used to activate the license key the first time), the request will return success. This feature was added to give the developers the option to allow their customers to reactivate the software after the user has deleted the app data, for example.

Let’s say you have a license key that can be used one time, and the user has activated a mobile app now the license can’t be used again, the user later deletes the app data and tries to activate the app again.

They can’t because there is no device ID associated with the license key, and the activation limit was reached.

But if you register the Device ID when you activate the license key, even after the user deletes the app data, they can activate again because, with that ID, you can confirm that it is the same user on the same device.

Activation/Verification without a Device ID:

If you don’t put a Device ID in the parameters when you send the API request, you are checking if the license key alone is valid or no.

If you put a Device ID in the parameters, you are checking if that combination of License key/Device ID is valid or no.