When you send the email and password that tried logging in on your system to the login endpoint, you will receive a response with a token. This token is used to authenticate all other requests to the API. You should store this token in your application and send it as a header with every request.
const loginData = {
email: '[email protected]',
password: 'abc123',