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.
Be sure to save the authorization token in the response header and include it when making API requests.
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.
Last updated