Assign drivers to pending. Profile must be verified.
Jobs > Drivers
POST assign_pending
Endpoint
POST /api/v1/jobs/:id/job_drivers/assign_pending
Parameters
Name | Description |
---|---|
driver_id required | User ID |
Request
Route
POST /api/v1/jobs/328/job_drivers/assign_pending
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTc3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDU5LCJleHAiOjE3NjM1NDI0NTksImp0aSI6IjEwMWI4MmY3LTdlZDEtNDdlMi1iNDViLTlhODY1ZmUxNjVhZCJ9.FWthDbpsPQMPqxEa5fKwGw53i-I-hxYnj6Cg2t5S5b8
Host: example.org
Cookie:
Body
{
"driver_id": 1178
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"108e6df6ca3dd97bdb094373a0d43f0a"
cache-control: max-age=0, private, must-revalidate
x-request-id: 93527726-58a1-4a0e-b378-c9090834835b
x-runtime: 0.066986
content-length: 217
Body
{
"job_driver": {
"id": 342,
"currency": "GBP",
"driver": {
"id": 1178,
"first_name": "Jackeline",
"last_name": "Glover",
"profile_id": 547,
"referral_code": "332396"
},
"kind": "compliance_check",
"updated_at": "2025-10-20T08:54:19.619Z"
}
}