GET api/Login?username={username}&password={password}&expireDate={expireDate}
Authenticates the user
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| username |
Define this parameter in the request URI. |
|
| password |
Define this parameter in the request URI. |
|
| expireDate | Optional expire date, if left empty it will be 24 hours |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{
"ID": "c37b99b4-009b-47cf-aa7b-6761cc41444b",
"ExpireDate": "2026-06-10T04:30:36.2337907+00:00",
"ApiUserID": 2,
"ApiUser": {
"ID": 1,
"Name": "sample string 2",
"Username": "sample string 5",
"Created": "2026-06-10T04:30:36.2337907+00:00",
"Active": true,
"Admin": true
}
}