Skip to main content
POST
/
api
/
v1
/
users
/
authorization
/
login-with-code
Login With 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"
}

Query Parameters

one_time_code
string
required

Response

Successful Response

The schema for a logged-in user.

id
integer
required
email
string<email>
required
profile
BasicProfileSchema · object
required

The base schema for a profile.

access_token
string
required
is_google_recaptcha_response_valid
boolean | null
token_type
string
default:bearer