Jobs > Drivers

Assign drivers to pending. Profile must be verified.

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/344/job_drivers/assign_pending

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjE3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2MzkwLCJleHAiOjE3NjYyMTgzOTAsImp0aSI6ImVhMTMzNzQxLTk4NzctNGQ4Zi1hZmY1LTMxZWQ2MTczOTI3MCJ9.j2gJeE5W2BtQ3TH9BwhPaWOu-27NO_8AtiEAuIhfvSE
Host: example.org
Cookie: 

Body

{
  "driver_id": 1218
}

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/"c549260e5a20a0499fa5404df50e4240"
cache-control: max-age=0, private, must-revalidate
x-request-id: 97fe1887-0ae2-4de4-922f-d37b4710df94
x-runtime: 0.063260
content-length: 242

Body

{
  "job_driver": {
    "id": 361,
    "currency": "GBP",
    "driver": {
      "id": 1218,
      "financial_company_id": null,
      "first_name": "Eliza",
      "last_name": "Stracke",
      "profile_id": 566,
      "referral_code": "342377"
    },
    "kind": "compliance_check",
    "updated_at": "2025-11-20T08:13:10.598Z"
  }
}