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

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTc3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTIxLCJleHAiOjE3NTExMDg1MjEsImp0aSI6IjlmZWFiNTc3LWJhYWUtNGJjNy04YjgxLTY2MTU5MjJmNzY0YyJ9.4RarEcaHNxeyWCC7TGO6ZxWnEjv_Q9z8Ykn_lHgkEYc
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/"23f1f0a944f518f10bc27a32a5b2579f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7f1f4217-5608-48e8-ac60-538fb20857c5
x-runtime: 0.059359
content-length: 196

Body

{
  "job_driver": {
    "id": 342,
    "driver": {
      "id": 1178,
      "first_name": "Dale",
      "last_name": "Schmitt",
      "profile_id": 547,
      "referral_code": "858513"
    },
    "kind": "compliance_check",
    "updated_at": "2025-05-29T11:02:01.402Z"
  }
}