GET/user/login

Log in a user

Authenticates a user by checking the supplied login credentials. Provide username and password to start a user session and receive the session token as a string.

2 parameters
usernamestringoptional

The username used to authenticate the user.

passwordstringoptional

The user's password in clear text for authentication.

3 status codes
200Returns the authentication token as a string in JSON or XML format.
400Returned when the supplied username or password is invalid.
defaultUnexpected error

Error handling

A 400 is returned when the supplied username or password is invalid. Send the password as clear text only over a protected connection.