curl --request POST \
--url http://localhost:8000/api/v1/users/authorization/login-with-code{
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"access_token": "<string>",
"is_google_recaptcha_response_valid": true,
"token_type": "bearer"
}Login using a one-time login code.
curl --request POST \
--url http://localhost:8000/api/v1/users/authorization/login-with-code{
"id": 123,
"email": "[email protected]",
"profile": {
"first_name": "<string>",
"last_name": "<string>",
"phone_number": "<string>"
},
"access_token": "<string>",
"is_google_recaptcha_response_valid": true,
"token_type": "bearer"
}Successful Response
The schema for a logged-in user.