X-API-Key in the request header with the key."action": "login"{
"action": "login",
"userId": "johndoe",
"accessLevel": 1
}username from the response as the userId to log them in.username to log in.username along with your user’s information in your own database.{
"action": "login",
"userId": "johndoe",
"accessLevel": 1
"email": "johndoe@gmail.com",
"firstname": "john".
"lastname": "doe",
"displayname": "john doe"
}curl --location --request GET 'https://cname.yourdomain.com/api/secureAuth?accessLevel=0&action=login&userId=<Username>&email=<Email>&firstname=<First Name>&lastname=<Last Name>&displayname=<Display Name>' \
--header 'apiKey: API_KEY_HERE' \
--header 'hostname: cname.yourdomain.com'{
"error": false,
"loginUrl": "https://cname.yourdomain.com/v2/app/loginApi/[API_KEY]/2?token= [token]&host=[cname.yourdomain.com]",
"sessionId": "xxxxxxxxxxxxxxxxx"
}