User Login
POST
/auth/login
The User Login endpoint authenticates a user's credentials and returns an access token and refresh token for subsequent API requests. A partner would call this endpoint when a user attempts to log in to their account, providing their email address and password. The endpoint verifies the user's credentials and returns their profile information and authentication tokens.
Types inferred from examples. This endpoint came from a Postman collection, which declares no schema — field types are read from the example values and no field is marked required.
Request body
-
emailThe user's email address.
-
passwordThe user's password.
Response 201
-
statusThe user's status.
-
dataAn object containing additional user data.
-
usernameThe user's username.
-
phoneNumberThe user's phone number.
-
firstNameThe user's first name.
-
lastNameThe user's last name.
-
partnerCodeThe user's partner code.
-
realmRolesAn array of the user's realm roles.
-
accessTokenThe user's access token.
-
emailVerifiedWhether the user's email is verified.
-
refreshTokenThe user's refresh token.
-
expiresInThe expiration time of the user's access token in seconds.
-
refreshExpiresInThe expiration time of the user's refresh token in seconds.
-
activeWhether the user is active.
-
Errors
| Status | Meaning |
|---|---|
| 401 | 401 |