Get an Activated License Code

Members Account Licensing API base URL: https://my.interfaceware.com

Register your Iguana ID to Activate a License Code POST /api

This API method returns a JSON object containing the license description and activated license code.

Parameters:

Parameter

Description

Value (as a string)

Parameter

Description

Value (as a string)

product

The product you want to license.

IguanaX

token

Your authentication token from Get an Authentication Token

<token>

method

The API method name.

license.activate

description

Provide a description to pair with the license.

<ex. Prod for XYZ>

entitlementid

The ID of the license you want to activate. Retrieved from Get List of Entitlements (License Types)

<entitlementID>

instanceid

The Iguana ID of the instance that you want to apply the license to. Retrieved from Programmatically get an Iguana ID

<IguanaID>

Sample Request:

Curl request calling the license API and parsing the license code from the response:

IguanaLicenseCode=`curl -k -X POST "https://my.interfaceware.com/api?method=license.activate&product=IguanaX&token=<IguanaToken>&description=IguanaLicense&entitlementid=<EntitlementID>&instanceid=<IguanaID>" | jq -r '.data.code'`

Response:

{ "data": { "description": "Test", "code": "4492A1B5CDA25D79DFCC5DC3GHS4448B9D8A3CCC98", "license_expiry": "2025-08-13", "name": "IguanaX Test", "instanceid": "THSWPRHMUXTT7MRR", "log_search": 365, "num_components": 50 }, "status": "ok"