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.
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
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?