Authenticate user
POST/auth/login
To use Butler Smart Home API, you need to acquire access and refresh token. This call uses Autorization
header with Basic
authorization schema, to get username and password. After successful authentication, you will receive access and refresh tokens. Access token is used to authenticate all other API calls, and refresh token is used to get new access token, when the old one expires.
Request
Responses
- 200
- 401
Authenticated successfully
Not authenticated