Authenticate with email and password
Authenticate user with email/password. Rate limited. Returns access/refresh tokens and user data. Supports MFA.
POST
/api/auth/loginBody
emailstringrequiredpasswordstringrequiredmfa_codeobjectRequest
curl
curl -X POST https://platform.trickest.com/api/auth/login \
-H "Authorization: Bearer $TRICKEST_TOKEN" \
-H "Content-Type: application/json" \
-d '{ }'Responses
200Login successful; access/refresh tokens and the authenticated user
accessstringrequiredrefreshstringrequireduserobjectrequiredexpiresAtstringrequired400Bad Request – validation error or malformed input
codestringmessagestring500Internal Server Error
codestringmessagestring