Authorization

Login

POST https://api.foyer.ai/User/login

Login and receive an authorization token for use with all future requests.

Request Body

NameTypeDescription

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

NameTypeDescription

Authorization

string

Authorization token.

Request Body

NameTypeDescription

currentPassword

string

Current password.

newPassword

string

New password.

confirmNewPassword

string

New password repeated.

<Response body empty>

Last updated