Get an Authentication Token

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

Get an Authentication Token POST /api

This API method returns a JSON object containing a session token which will be used with the subsequent license API calls.

Parameters:

Parameter

Description

Value (as a string)

Parameter

Description

Value (as a string)

username

Your Members Account username.

<username>

password

Your Members Account password.

<password>

method

The API method name.

session.login

Sample Request:

Curl request calling the API and parsing the Token from the response:

IguanaToken=`curl -k -X POST "https://my.interfaceware.com/api?username=<InterfacewareUser>&password=<InterfacewarePassword>&method=session.login" | jq -r '.data.Token'`

Response:

{ "data": { "Token": "277DBB66C802BE3287207FFE120595EC", "Info": { "Permissions": { "LicenseTransfer": true, "TemporaryLicense": true, "LicenseRead": true, "FinancialRead": false, "LicenseWrite": true }, "CompanyName": "Company ABC" } }, "status": "ok" }

Â