---
# System prepended metadata

title: Untitled

---

```sequence
User -> Application: Login with August account
Application -> AugustAPI: Authenticate
AugustAPI --> Application: Response
Note left of Application: If require validation
Application -> AugustAPI: Request send verification code
Application -> User: Redirect to enter verification code screen
User -> Application: Enter verification code
Application -> AugustAPI: Validate verification code
AugustAPI --> Application: Response access token
Application -> AugustAPI: Request get user's lock
AugustAPI --> Application: Response user's lock
Application -> User: Show locks to user
Note left of User: Lock/unlock door
User -> Application: Press lock/unlock door button
Application -> AugustAPI: Send lock/unlock door request
```