Skip to main content
GET
Get Current User

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

x-api-version
string

Version identifier (date format).

x-tenant-id
integer<int64>
required

Tenant identifier. Contact CRO Software for more info if you don't already have this id. See list tenant ids for info on listing the tenants you have access to.

Response

200 - application/json

Success

User info.

dispatcher_id
integer<int64>
required

Resource identifier.

driver_id
string
required

Driver identifier.

id
string
required

User identifier.

roles
string[]
required

User role.

third_party_hauler_id
string<uuid>
required

Third party hauler identifier.

uid
string<uuid>
required

Identity UUID.

username
string
required

Username.