Verify If Still Logged In
This process looks at the JWT token sent in and returns information about it. Token can be stored as a cookie. Secret Hmac and page href Required. Cache Time 1 Hour.
POST
/Auth/Verify/Login
curl \
--request POST 'https://api.wrtm.io/v1.0/Auth/Verify/Login' \
--header "X-ApiKey: $API_KEY" \
--header "Authorization: X-apidate $ACCESS_TOKEN" \
--header "Authorization: X-apihmac $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"Href":"https://www.whyreadthemanual.com/login","Token":"base 64 encoded stuffs","Username":"username","Password":"password"}'
Request examples
{
"Href": "https://www.whyreadthemanual.com/login",
"Token": "base 64 encoded stuffs",
"Username": "username",
"Password": "password"
}
Response examples (200)
{
"Valid": 1,
"Custno": 10028,
"Logind": 1,
"Parent": 10028,
"LoginIp": "192.168.200.20",
"Message": "Welcome Nick. Your last login was 28 days ago",
"LastName": "Doe",
"FirstName": "John",
"LoginTime": 20250101000000,
"PrevLogin": 20240101000000
}