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": "a6d3fc8d-34da-4c39-b1b9-eebd4bbc68a2",
"ExpireDate": "2026-09-24T01:32:11.8699859+00:00",
"ApiUserID": 2,
"ApiUser": {
"ID": 1,
"Name": "sample string 2",
"Username": "sample string 5",
"Created": "2026-09-24T01:32:11.8699859+00:00",
"Active": true,
"Admin": true
}
}