cURL
curl --request GET \ --url https://api.app.fleetit.com/api/whoami/ \ --header 'Authorization: Bearer <token>'
{ "id": 0, "username": "", "first_name": "", "last_name": "", "email": "", "permission_groups": [ "" ], "is_onboarded": true }
This endpoint allows you to retrieve information about the currently authenticated user.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful response
0
""
[""]
true
Was this page helpful?