Skip to main content
POST
Create 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).

Body

application/json

Create hauler request body.

password
string
required

New password.

recaptcha
string
required

Recaptcha answer.

user_type
string
required

User type.

username
string
required

New password.

third_party_hauler_id
string<uuid>

Third party hauler identifier.

verified_redirect_url
string

Redirect URL.

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.