Sign In with Email and Password
Run in Apidog
To sign in with credentials with the required email and password attributes. The user will be authenticated using the provided credentials. If successful, the response body will contain a JSON object with the user's session details or a redirect URL. A 200 status code will be returned upon successful authentication.
Request Body Params application/json
{
"email" : "string" ,
"password" : "string" ,
"callbackURL" : "string" ,
"rememberMe" : true
} Request Code Samples
curl --location --request POST 'https://sims.sman1samarinda.sch.id/api/auth/sign-in/email' \
--header 'X-Captcha-Response: XXXX.DUMMY.TOKEN.XXXX' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "string",
"password": "string",
"callbackURL": "string",
"rememberMe": true
}' Responses application/json Generate Code
{
"redirect" : false ,
"token" : "4FSdtAJh7aOKu6Q9PJ1ScZD7FjRcvAHu" ,
"user" : {
"name" : "Developer Account" ,
"email" : "dev@email.com" ,
"emailVerified" : false ,
"image" : "https://play-lh.googleusercontent.com/sFmWfYbYp_2ea7VRMTnwd3gjIBrPGXHj_d_ab1_k1q1p2OMk4riGMF1vqxdhONOtTYOt_BVpk7a4AYcKU68LNGQ" ,
"createdAt" : "2025-11-26T01:10:18.688Z" ,
"updatedAt" : "2025-11-26T01:10:18.688Z" ,
"secondaryEmail" : "secondary@email.com" ,
"active" : true ,
"id" : "6926537ae13419592ed3ad8c"
}
}
Modified at 2026-01-05 04:13:45