GET/user/{username}

Retrieve a user by username

Retrieves the user record identified by a username. Use the username path parameter to select the account whose details you need. The example username user1 is provided for testing.

1 parameter
usernamestringrequired
The name of the user to retrieve; use `user1` for testing.

4 status codes
200Returns the user object, including account 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 if the username path parameter is invalid. A 404 is returned when no user is found for the supplied username.