Our Licensing APIs are designed to interact with the Members Account licensing system allowing you to get, activate, and transfer Iguana licenses programmatically, providing you have access and licenses available to do so.
The following steps provide an example license activation workflow calling the Iguana license APIs using curl commands:
Get the Iguana ID of your target Iguana instance
There are two methods which can be used to obtain the Iguana ID:
The Iguana ID can be obtained using the command line Windows:
![]() Linux:
*optionally add the |
Use your Iguana instance IP address and port:
To call the IguanaX APIs you must first login and get a session cookie from the response header to authenticate your subsequent requests. Parameters:
Response Header:
Example curl command calling the Should look similar to:
This API method returns a JSON object containing the Iguana ID along with other license information. To authenticate, the obtained Cookie is provided in the header of the request. Response:
Example curl command calling the
|
Call the Members Account Licensing APIs to register your Iguana ID to generate a license code
Members Account Licensing API base URL: Get an Authentication Token This API method returns a JSON object containing a session token which will be used with the subsequent license API calls. Parameters:
Response:
Example curl command calling the API and parsing the Token from the response:
|
Members Account Licensing API base URL: Get a List of Entitlements This API method returns a JSON object containing a list of license types and select the ID for the type you want to activate. Parameters:
Response:
Example curl command calling the API and parsing the selected license entitlement id from the response:
|
Members Account Licensing API base URL: Register your Iguana ID to Activate a License Code This API method returns a JSON object containing the license description and activated license code. Parameters:
Response:
Example curl command calling the API and parsing the license code from the response:
|
Apply the license code to the new Iguana instance
There are two possible methods to apply the generated license code to the new Iguana instance:
Windows
Linux:
|
Use your Iguana instance IP address and port:
To call the IguanaX APIs you must first login and get a session cookie from the response header to authenticate your subsequent requests. Parameters:
Response Header:
Example curl command calling the Should look similar to:
This API method applies the registered license code to the Iguana instance and returns a JSON object containing the request success or failure. To authenticate, the obtained Cookie is provided in the header of the request. Parameters:
Response:
Example curl command calling the
|
See step 1 above in Activate a License for how to get the Iguana ID. |
Gain access to the Iguana ID used to transfer to.
Obtain Authentication Token.
Gain Access to the Entitlement ID.
Gain access to the Activation ID of the current Iguana Instance.
Gain access to the new code and transfer the new Iguana Instance.
Apply the license code to the new Iguana Instance.