GET
/user/{username}Get a user by username
Retrieves a user account by username. Supply the username to look up the user's details.
usernamestringrequired
The username of the user to retrieve. Use user1 for testing.
200Returns the user object, including its email, name, identifier, password, phone, status, and username.
emailstringoptional
firstNamestringoptional
idintegeroptional
lastNamestringoptional
passwordstringoptional
phonestringoptional
userStatusintegeroptional
User Status
usernamestringoptional
400Returned when the supplied username is invalid.
404Returned when the user is not found.
defaultReturned when an unexpected error occurs.
Error handling
A 400 is returned when username is invalid. A 404 is returned when no user is found with the supplied username.