Skip to main content
GET
/
users
/
{userId}
Get user by ID
curl --request GET \
  --url https://api.fonder.com/users/{userId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "username": "<string>",
  "mail": "[email protected]",
  "role": "<string>",
  "phone": "<string>",
  "accounts": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string<uuid>
required

User ID

Response

200 - application/json

Successful response

id
string<uuid>
username
string
mail
string<email>
role
string
phone
string
accounts
string[]