curl --request POST \
  --url https://dev.api.fleet.usedora.com/api/v1/riders/create
{
"status": "success",
"data": {
    "uuid": "9dbb0847-a2ba-4cdb-b904-72fd9ab2f3bc",
    "riderid": 45689646,
    "name": "Nice Chimaobi",
    "address": "Aso housing estate, lugbe",
    "phone_number": "08028492844",
    "phone_code": "234",
    "email": "king@gmail.com",
    "vehicle_plate_number": "Ae93480G",
    "photo": "https://usedora-bucket-dev.s3.amazonaws.com/photos/oNhnn9x1fxoiPkJ3kbJUxYWNa6L4iusIChYI2B8G.jpg",
    "created_at": "2023-12-03T07:47:46.000000Z"
}
}

📝 Summary

This endpoint allows the creation of a new rider profile in the system. It collects essential rider details, such as personal information, contact details, and identification, enabling them to start performing delivery tasks.


📥 Requests

Body

📤 Response

✅ 200 OK
❌ 422 Bad Request
{
"status": "success",
"data": {
    "uuid": "9dbb0847-a2ba-4cdb-b904-72fd9ab2f3bc",
    "riderid": 45689646,
    "name": "Nice Chimaobi",
    "address": "Aso housing estate, lugbe",
    "phone_number": "08028492844",
    "phone_code": "234",
    "email": "king@gmail.com",
    "vehicle_plate_number": "Ae93480G",
    "photo": "https://usedora-bucket-dev.s3.amazonaws.com/photos/oNhnn9x1fxoiPkJ3kbJUxYWNa6L4iusIChYI2B8G.jpg",
    "created_at": "2023-12-03T07:47:46.000000Z"
}
}