user_login_tokenReturns a persistent login token for the provided username & password.
Commandline Example: curl --data "username=test9999&password=rxkb928-3x4" https://example.com/service
| Name | Type | Required | Example |
|---|---|---|---|
username | String | Y | johndoeThe username of the customer |
password | String | Y | Pass123The password of the customer |
reissue | Integer | N | 1 or 0Should we issue a new token (destroying the old code)? |
expiration | Datetime | N | 2018-02-08Any time string will do (passed through strtotime). This value is only used for brand new keys or when reissue is true. |
| Name | Type | Example |
|---|---|---|
ai_token | String | S09F2092JF09ASDAFDUFAAFDUD_BMX9IThe ai_token which can be used in other API calls that this user has permission to use |