Skip to main content
GET
/
v1
/
api
/
users
List all users
curl --request GET \
  --url http://localhost:3091/v1/api/users \
  --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

List of users returned

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