GET/user/login

Log in a user

Authenticates a user by submitting login credentials. Provide the username and password query parameters for the account you want to access.

2 parameters
usernamestringoptional
The username for the account to log in to.
passwordstringoptional
The account password, sent as clear text.

3 status codes
200Returns a string containing the login result.
400Returned when the supplied username or password is invalid.
defaultUnexpected error

Error handling

A 400 is returned when the supplied credentials are invalid. Pass the username query parameter and password query parameter with the account's login credentials.