Skip to main content
POST
/
api
/
auth
/
login
Login to get a JWT token
curl --request POST \
  --url https://tandem.hlofiys.xyz/api/auth/login \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "password": "<string>"
}
'
{
  "token": "<string>",
  "refresh_token": "<string>"
}

Body

application/json
email
string
required
password
string
required

Response

Login successful. Returns a new pair of access and refresh tokens

token
string
required

JWT token

refresh_token
string
required

Refresh token