Skip to main content
GET
/
api
/
v1
/
users
/
{user_id}
Get User
curl --request GET \
  --url http://localhost:8000/api/v1/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "email": "[email protected]",
  "profile": {
    "first_name": "<string>",
    "last_name": "<string>",
    "phone_number": "<string>"
  },
  "is_google_recaptcha_response_valid": true
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

user_id
integer
required

Response

Successful Response

The schema for a user.

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

The base schema for a profile.

is_google_recaptcha_response_valid
boolean | null