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
Example:

0

username
string
Example:

""

first_name
string
Example:

""

last_name
string
Example:

""

email
string
Example:

""

permission_groups
string[]
Example:
[""]
is_onboarded
boolean
Example:

true