Get Driver Referral Network
Retrieves the authenticated driver’s personal referral code, the total count of referees, and the detailed list of users and drivers who registered using their referral code.
Endpoint Overview
-
Method:
GET -
Route:
/api/v1/driver/referrals -
Authentication:
Bearer Token (Driver JWT) -
Content-Type:
N/A
Request Headers
Request Body Schema
None (GET request)
Response Body Schema (200 OK)
Referee Item Fields
Response Examples
1. `200 OK` — Referrals Found
2. `200 OK` — No Referrals Yet
3. `401 Unauthorized` — Missing / Expired Token / Revoked Session
4. `403 Forbidden` — Account Blocked / Deactivated
5. `404 Not Found` — Referral Code Not Found
6. `500 Internal Server Error`
Status Codes Reference
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.