Accepts user credentials for validation, create a session and returns a session token

Validate credentials and establish session

Securityapi_key
Request
Request Body schema: application/json

Perform user authentication against the API

Password
string <= 128 characters /^.*$/
Username
string <= 64 characters /^.*$/
Responses
200

A login response

401

API key is missing or invalid

403

Request is completely forbidden. API not provided or method and or endpoint not supported

404

404 Not found

429

429 too many requests response

500

Service Error

default

unexpected error response

post/login
Request samples
application/json
{
  • "Password": "password",
  • "Username": "user"
}
Response samples
application/json
{
  • "code": "Success",
  • "message": "string",
  • "SessionToken": "pa$$word",
  • "UserInfo": {
    }
}
Copyright © RoadSync 2023. All right reserved.