Skip to content

Drivers API ​

Endpoints ​

text
POST /api/v1/drivers
GET  /api/v1/drivers/me
GET  /api/v1/drivers/me/verification

Become a driver ​

text
POST /api/v1/drivers
json
{
  "licenceReference": "secure-reference"
}

Creates the driver profile. One driver profile per user — driver_profiles.user_id is unique, so a second registration attempt returns the existing profile rather than creating a way around verification.

Requires a verified identity. Publishing a journey requires a verified driver and a verified vehicle; holding either alone is not sufficient.

Driver profile ​

text
GET /api/v1/drivers/me

Returns the caller's own driver profile. There is no public driver endpoint that returns licence data to another user.

Verification status ​

text
GET /api/v1/drivers/me/verification
json
{
  "identity": "VERIFIED",
  "licence": "VERIFIED",
  "vehicle": "VERIFIED",
  "overallStatus": "ELIGIBLE"
}

The three components are reported separately because they expire independently. A verified licence on an unverified vehicle is PENDING, not ELIGIBLE.

If a verification provider is unavailable, the component reports PENDING — never VERIFIED. See Fail-safe behaviour.

KHAWI — same route, go together.