GET
/
api
/
whoami
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
}

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
Successful response
id
integer
username
string
first_name
string
last_name
string
email
string
permission_groups
string[]
is_onboarded
boolean