Skip to main content
POST
/
auth
/
sign-in
Login user with credentials
curl --request POST \
  --url https://api.hixbe.com/account/auth/sign-in \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "user@example.com",
  "password": "StrongPass123!"
}
'
{
  "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}

Body

application/json
email
string
required
Example:

"user@example.com"

password
string
required
Example:

"StrongPass123!"

Response

Login successful, refresh token set in cookie

accessToken
string
required
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."

refreshToken
string
required
Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."