Activate License

This method will activate a license provided by a user.

Use this method after a user provides their license. The system will check that the license provided is valid and will mark the license as active.

In order to validate the response as an extra protection layer, be sure to match the product_id in the Response with the Product Id you are protecting.

The guid parameter is set by you as a unique identifier. You can set it as a unique ID for desktop software...or you can set the domain for a WordPress plugin. Either way, the guid will be visible to the user on their ProductDyno "Licenses" page.

PATH

https://app.productdyno.com/api/v1/licenses/activate

METHOD

POST

PARAMETERS

_api_key
license_key
guid

EXAMPLE JSON RESPONSE

{
 "license_key": "PW1V-FP0N-Q5IY-RRBZ",
 "activated_at": "2021-04-28 14:12:43",
 "product_id": 58
}