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.eyJzdWIiOiIxMTc3Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjAyLCJleHAiOjE3NTU4NTgyMDIsImp0aSI6ImYwZDBhMDc1LTQxMGUtNDhiYy05NWNmLWIyZTRlNTZjNDZmZSJ9.DxvsI1kObDz9E1L4tEio3WsNi19-zzlOXI8LeaLwyAo
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/"eb8caf19684657d0f657157d248b41ee"
cache-control: max-age=0, private, must-revalidate
x-request-id: 0a719cec-73cc-43cb-a6a6-b5714a40c667
x-runtime: 0.068650
content-length: 200

Body

{
  "job_driver": {
    "id": 342,
    "driver": {
      "id": 1178,
      "first_name": "Caroyln",
      "last_name": "Jacobson",
      "profile_id": 547,
      "referral_code": "972175"
    },
    "kind": "compliance_check",
    "updated_at": "2025-07-23T10:23:22.809Z"
  }
}