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

email

string

The email address associated with the account.

password

string

The password associated with the account.

<Response body empty>

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.

<Response body empty>

Last updated