Login Endpoint
Table of Contents
Login Endpoint
You can identify yourself via standard login credentials instead of API keys. Don’t forget to save and submit the cookies with your following requests.
To obtain your current login data:
GET https://api.corvusgps.com/login/
{
"success": "Logged in successfully!",
"aid": 1234567,
"uid": 1,
"did": 1,
"name": "James Darren",
"accountState": "Active",
"accountType": "Personal",
"userType": "trackedUser",
"loginLevel": "user",
"hasDevice": true
}
To actually sign in with your credentials:
POST https://api.corvusgps.com/api/login/
Parameters:
{
"email": "fakeuser@fakemail.com",
"password": "certainly-a-fake-password"
}
{
"success": "Logged in successfully!",
"aid": 1234567,
"uid": 1,
"name": "Vic Fontaine",
"accountState": "Active",
"accountType": "Business",
"userType": "dispatcher",
"loginLevel": "admin",
"hasDevice": false
}