Public
Documentation Settings

Lizenzkeys

This is the description of the HenryMiles EasyKeyAPI on influencers-hub.de

Please note that there is an important new parameter for switching between the test and production system:

fireOn =Tst

fireOn =Prd

Prd is productive and Tst is the test environment. This is completely emptied once a week. Please only run tests in the test environment!

Examples of how to use this API are gradually being added to Github:

https://github.com/HenryMilesCoding/KeyHolderLicenceApiExamples

INFOS

This contains all queries that reveal information about the system.

GETgetKeyTypes

https://influencers-hub.de/licencesKing/api.php?lang=DE&action=getKeyTypes
PARAMS
lang

DE

Optional, ISO country code

action

getKeyTypes

Required, determines what needs to be done

Example Request
curl
curl --location 'https://influencers-hub.de/licencesKing/api.php?lang=DE&action=getKeyTypes'
200 OK
Example Response
json
{
  "action": "getKeyTypes",
  "state": 1,
  "message": "Success to create list of licence types",
  "backdata": {
    "Version": 1,
    "RequestState": 200,
    "ListOfKeysTypes": [
      {
        "id": 1,
        "keytype_word": "valid forever"
      },
      {
        "id": 2,
        "keytype_word": "valid one time"
      }
    ]
  }
}
Date

Fri, 24 Nov 2023 23:08:34 GMT

Server

Apache/2.4.57 (Unix)

X-Powered-By

PHP/8.1.25

Vary

User-Agent

Content-Type

application/json; charset=utf-8

Keep-Alive

timeout=3, max=100

Connection

Keep-Alive

Transfer-Encoding

chunked

GETGetCommands

https://licence.influencers-hub.de/?lang=DE&action=getCommandList
PARAMS
lang

DE

Optional, ISO country code

action

getCommandList

Required, determines what needs to be done

Example Request
curl
curl --location 'https://influencers-hub.de/licencesKing/api.php?lang=DE&action=getKeyTypes'
200 OK
Example Response
json
{
  "action": "getKeyTypes",
  "state": 1,
  "message": "Success to create list of licence types",
  "backdata": {
    "Version": 1,
    "RequestState": 200,
    "ListOfKeysTypes": [
      {
        "id": 1,
        "keytype_word": "valid forever"
      },
      {
        "id": 2,
        "keytype_word": "valid one time"
      }
    ]
  }
}
Date

Fri, 24 Nov 2023 23:08:34 GMT

Server

Apache/2.4.57 (Unix)

X-Powered-By

PHP/8.1.25

Vary

User-Agent

Content-Type

application/json; charset=utf-8

Keep-Alive

timeout=3, max=100

Connection

Keep-Alive

Transfer-Encoding

chunked

GETgetKeyTypes V2 (fireOn)

https://influencers-hub.de/licencesKing/api.php?lang=DE&action=getKeyTypes&fireOn=Tst
PARAMS
lang

DE

Optional, ISO country code

action

getKeyTypes

Required, determines what needs to be done

fireOn

Tst

Optional, test or production system, (Prd | Tst)

Example Request
curl
curl --location 'https://influencers-hub.de/licencesKing/api.php?lang=DE&action=getKeyTypes'
200 OK
Example Response
json
{
  "action": "getKeyTypes",
  "state": 1,
  "message": "Success to create list of licence types",
  "backdata": {
    "Version": 1,
    "RequestState": 200,
    "ListOfKeysTypes": [
      {
        "id": 1,
        "keytype_word": "valid forever"
      },
      {
        "id": 2,
        "keytype_word": "valid one time"
      }
    ]
  }
}
Date

Fri, 24 Nov 2023 23:08:34 GMT

Server

Apache/2.4.57 (Unix)

X-Powered-By

PHP/8.1.25

Vary

User-Agent

Content-Type

application/json; charset=utf-8

Keep-Alive

timeout=3, max=100

Connection

Keep-Alive

Transfer-Encoding

chunked