Skip to main content
POST
Sign In
Authenticate a user using email and password. Returns an access token, a refresh token, and user data.

Body Parameters

string
required
User’s registered email address
string
required
User’s password

Response

boolean
Indicates whether the authentication was successful
string
JWT access token for authenticating API requests (expires in 30 minutes)
string
JWT refresh token for obtaining new access tokens (valid for 30 days)
User Object

Error Responses


Notes

  • On success, an HttpOnly cookie named replyke-refresh-jwt is set.
  • The accessToken is returned in the response body and expires in 30 minutes.
  • Refresh token is valid for 30 days.
  • Active suspensions are included in the response user object.
  • Only valid users with matching credentials can sign in.