Skip to main content
GET
/
v1
/
api
/
users
/
me
Get current user profile
curl --request GET \
  --url http://localhost:3091/v1/api/users/me \
  --header 'Authorization: Bearer <token>'
{
  "id": 123,
  "firstName": "<string>",
  "lastName": "<string>",
  "pseudo": "<string>",
  "phone": "<string>",
  "nationality": "<string>",
  "dateOfBirth": "<string>",
  "email": "<string>",
  "stripeConnectedAccountId": "<string>",
  "enabled": true,
  "walletBalance": 123,
  "pendingWithdrawalAmount": 123,
  "totalEarned": 123,
  "totalWithdrawn": 123,
  "autoWithdrawalEnabled": true,
  "autoWithdrawalThreshold": 123,
  "rating": 123,
  "tripCount": 123,
  "deliveryCount": 123,
  "memberSince": "<string>"
}

Authorizations

Authorization
string
header
required

JWT access token from POST /v1/api/auth/login

Response

Profile returned successfully

id
integer<int32>
firstName
string
lastName
string
pseudo
string
phone
string
nationality
string
dateOfBirth
string
email
string
stripeConnectedAccountId
string
enabled
boolean
walletBalance
number
pendingWithdrawalAmount
number
totalEarned
number
totalWithdrawn
number
autoWithdrawalEnabled
boolean
autoWithdrawalThreshold
number
rating
number<double>
tripCount
integer<int32>
deliveryCount
integer<int32>
memberSince
string