Authorization
Login
POST https://api.foyer.ai/User/login
Login and receive an authorization token for use with all future requests.
Request Body
Name
Type
Description
string
The email address associated with the account.
password
string
The password associated with the account.
<Response body empty><Response body empty>Change Password
POST https://api.foyer.ai/User/changePassword
Change password for existing account.
Headers
Name
Type
Description
Authorization
string
Authorization token.
Request Body
Name
Type
Description
currentPassword
string
Current password.
newPassword
string
New password.
confirmNewPassword
string
New password repeated.
<Response body empty><Response body empty>Last updated