## Retrieve `client.users.retrieve(stringusername, RequestOptionsoptions?): User` **get** `/user/{username}` Get user by user name ### Parameters - `username: string` ### Returns - `User` - `id?: number` - `email?: string` - `firstName?: string` - `lastName?: string` - `password?: string` - `phone?: string` - `username?: string` - `userStatus?: number` User Status ### Example ```typescript import JustinDocsTest from 'justin-docs-test'; const client = new JustinDocsTest({ apiKey: 'My API Key', }); const user = await client.users.retrieve('username'); console.log(user.id); ```