Auth

post
Login and get Session Token

https://portal.iphub.com.au/api/v1/auth/login
This endpoint will return a session token. This must be used with our other APIs in the Authorization header
Request
Response
Request
Query Parameters
username
required
string
Your email
password
required
string
Your password
Response
200: OK
Cake successfully retrieved.
{
"expiredAt": "2018-10-11T18:34:17+11:00",
"token": "XXXXXXXXX-YOUR_SESSION_TOKEN_HERE_XXXXXXXXXXXX",
"ttl": 3600,
"user": {// user account}
}

‚Äč