GET/user/{username}

Get a user by username

Retrieves the user account identified by a username. Use username to select the account; user1 is provided as a testing value.

1 parameter
usernamestringrequired
The name of the user to retrieve; use user1 as a testing value.

4 status codes
200Returns the user object, including its identifier and profile fields.
idintegeroptional
usernamestringoptional
firstNamestringoptional
lastNamestringoptional
emailstringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
400Returned when the supplied username is invalid.
404Returned when no user is found for the supplied username.
defaultUnexpected error

Error handling

A 400 is returned when username is invalid. A 404 is returned when no user is found for the username path parameter.