The Authentication API generates a secure token for users when logging into the system. This token must be included in subsequent API calls to access QEval services.
| URL | https://{domain}.qevalpro.com/api/Authenticate/Login |
| Method | Post |
| Domains | “app” or “ai” |
- JSON Formats
1. Code snippet for Web Service Use-
API Headers
| Header | Type | Description |
|---|---|---|
| Authorisation | String | Bearer <Generated_Token> (generated after successful login) |
| X-API-KEY | String |
Unique API key assigned by QEval team Note: If unavailable, email Qeval@etechtexas.com. |
2. Description for Request Parameters
|
S.No |
Name |
Type |
Description |
|---|---|---|---|
|
1 |
Username |
String |
Username for login |
|
2 |
Password |
String |
Password for login |
3. Response Examples
Success:
{
“Message”: “Success”,
“Token”: “####”,
“UserID”: 1234,
“UserName”: “Patrick”,
“UserFirstName”: “Patrick”,
“UserLastName”: “James”,
“RoleId”: 8,
“ClientID”: 12,
“EmpId”: 22445,
“X_API_KEY”: “####”
}
Failure:
{
“Message”: “The request is invalid”
}
Developer Notes
-
Two-Factor Authentication is mandatory:
-
Include Bearer Token in
Authorizationheader. -
Include X-API-KEY in
X-API-KEYheader.
-
-
Tokens are not supported in the request body.
-
If you don’t have an API key, request one via email:
Qeval@etechtexas.com.
Video