Last Modified October 1, 2026
- Home
- Guides
- Activation API V1 Reference
- WEB_Activate
WEB_Activate() API
WEB_ACTIVATE
WEB_ACTIVATE_SAAS
WEB_ACTIVATE_LOGIN
The License Activation Code for this DNA Product will be activated and assigned the License Code Password and the License Email
(if provided), or re-activated if the DNA Product uses StreamLined Activation and the license has already been activated.
Three variants are supported for the WEB_ACTIVATE API:
| WEB_ACTIVATE |
Used for Device Apps where the Application is an executable/script on the device and
optionally uses node-locking.
The Re-Activation Lockout algorithm is as follows:
- For Single-User licenses, any re-activations will count against the Re-Activation Lockout
- For Mult-User licenses, re-activations on the same device (i.e. <machineID>) will NOT count against
the Re-Activation Lockout. Re-activations on new computers will be counted
|
| WEB_ACTIVATE_SAAS |
Used for WEB Apps accessed using a device browser. The Application itself resides on a
web-server.
The re-activations on the same device browser will not be counted against the Re-Activation Lockout.
Re-activations on new devices, or different browsers will be counted.
|
| WEB_ACTIVATE_LOGIN |
Used for WEB Apps tied to a device License. The Device license must already be activated for the
Web APP activation to be accepted.
|
WEB_Activate POST Parameters
| API |
"API": "WEB_ACTIVATE"
"API": "WEB_ACTIVATE_SAAS"
"API": "WEB_ACTIVATE_LOGIN"
|
| DNA_KEY1 |
"DNA_KEY1": "<encoded key1>"
<encoded key1> may be blank on initial activation.
|
| DNA_KEY2 |
"DNA_KEY2": "<encoded key2>"
<encoded key2> may be blank on initial activation.
|
| PRODUCT_ID |
"PRODUCT_ID": "P0000000"
The DNA Product ID.
|
| ACTIVATION_CODE |
"ACTIVATION_CODE": "XX012345ABCDEF"
License Code to be activated
|
| PASSWORD |
"PASSWORD": "xxxxxxxxxxx"
License Code Password, provided by:
- If Product uses "User Authentication" option, then provided by the User
- If Product does not use "User Authentication" option, then a hard-coded default Password used
for all Licenses for this Product
|
| EMAIL |
"EMAIL": "myemail@adomain.com"
Email address provided by the User (optional). With a License Code Email assigned, a "Lost Password"
can be resent from the Application, or from the DNA Control Panel, or from the License Manager Portal.
|
DEVICE_ID (Device Application) |
"DEVICE_ID": "<deviceID>"
When node-locking used, the device ID to be used
|
USERAGENT (SAAS Application) |
"USERAGENT": "<HTTP User Agent>"
The value of Request.ServerVariables["HTTP_USER_AGENT"]. Will be used to
determine DNA_Platform and DNA_ComputerName.
|
USERAGENT (Device Application) |
"USERAGENT": "<device>"
The device OS platform used for display in the DNA Control Panel, from the following:
| WINDOWS |
Windows 32-bit |
| WINDOWS64 |
Windows 64-bit |
| MACINTOSH |
Mac OSX 32-bit |
| MACINTOSH64 |
Mac OSX 64-bit |
| LINUX |
Linux |
| ANDROID |
Android Phone |
| IPHONE |
iPhone |
| IPAD |
iPad |
|
COMPUTER_NAME (Device Application) |
"COMPUTER_NAME": "<device name>"
If available, the assigned device name used for display in the License Manager and the DNA Control Panel
|
| DATE |
"DATE": "22-12-07 15:37:47"
String representation of current date in any format. Used only to create / validate SIGNATURE
|
| SIGNATURE |
"SIGNATURE": "<HMAC256 Hash>"
HMAC256 Signature for the Request
|
WEB_ACTIVATE Request example in JSON format
{
"API": "WEB_ACTIVATE",
"DNA_KEY1": "",
"DNA_KEY2": "",
"PRODUCT_ID": "P0002964",
"ACTIVATION_CODE": "XX012345ABCDEF",
"PASSWORD":"********",
"EMAIL": "info@softworkz.com",
"DEVICE_ID":"8c9c72719398508a",
"USERAGENT": "ANDROID",
"COMPUTER_NAME":"Joe-Samsung",
"DATE":"22-12-07 15:37:47",
"SIGNATURE": "eD9S9vqX7qFhpddJvQeLwRxfwHYByv5;fAMwb0LEnDE="
}
WEB_ACTIVATE_SAAS Request example in JSON format
{
"API": "WEB_ACTIVATE_SAAS",
"DNA_KEY1": "",
"DNA_KEY2": "",
"PRODUCT_ID": "P0002964",
"ACTIVATION_CODE": "XX012345ABCDEF",
"PASSWORD":"********",
"EMAIL": "info@softworkz.com",
"USERAGENT": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36",
"DATE":"22-12-07 15:37:47",
"SIGNATURE": "eD9S9vqX7qFhpddJvQeLwRxfwHYByv5;fAMwb0LEnDE="
}
WEB_ACTIVATE_LOGIN Request example in JSON format
{
"API": "WEB_ACTIVATE_SAAS",
"DNA_KEY1": "",
"DNA_KEY2": "",
"PRODUCT_ID": "P0002964",
"ACTIVATION_CODE": "XX012345ABCDEF",
"PASSWORD":"********",
"EMAIL": "info@softworkz.com",
"USERAGENT": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36",
"DATE":"22-12-07 15:37:47",
"SIGNATURE": "eD9S9vqX7qFhpddJvQeLwRxfwHYByv5;fAMwb0LEnDE="
}