user_login_token
Returns 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 | johndoe The username of the customer |
password | String | Y | Pass123 The password of the customer |
reissue | Integer | N | 1 or 0 Should we issue a new token (destroying the old code)? |
expiration | Datetime | N | 2018-02-08 Any 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_BMX9I The ai_token which can be used in other API calls that this user has permission to use |