Authorization
.tags.authorization.description
📄️ Authenticate user
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.
📄️ Logout
Unauthenticate user. After this call, access token will be invalidated, and you will need to authenticate again to use Butler Smart Home API.
📄️ Get authentication status
Get authentication status for the token
📄️ Refresh token
This API call is used to get new access token, when the old one expires. You need to provide refresh token in the query parameter `token`.
📄️ Set Push token
Set push token for receiving push notifications. You need to acquire push token from your mobile device, and provide it in the request body.