List job drivers
Jobs > Drivers
GET job drivers
Endpoint
GET /api/v1/jobs/:id/job_drivers
Parameters
Name | Description | In |
---|---|---|
page | Page number | |
per_page | Number of items per page | |
by_state | Filter by state. All if empty | ["current", "former"] |
Request
Route
GET /api/v1/jobs/321/job_drivers
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMTQwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTMyLCJleHAiOjE3NDUwNTY5MzIsImp0aSI6ImQ3YzhhNTk2LTNkYjMtNGQ3Ny04YTQ4LTMyZGY4YmExYzBhMSJ9.QPPDILYhABmUB7BYV0nYXPyiheZ9yXOPx9qihJWlrIU
Host: example.org
Cookie:
Query Parameters
{}=
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
per-page: 20
total: 6
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"c553ebc5532d84e57f8aade1680ae14b"
cache-control: max-age=0, private, must-revalidate
x-request-id: 92c206c0-eda7-4e0e-9e3a-7aad3cd2d22b
x-runtime: 0.057454
content-length: 2546
Body
{
"job_drivers": [
{
"id": 317,
"chat_id": 568,
"contract": {
"id": 245,
"days_to_expire": 31,
"end_date": "2025-04-20",
"job_driver_id": 317,
"policy_schema": {
"markable_as_ended": true
},
"start_date": "2025-03-19",
"state": "active"
},
"driver": {
"id": 1141,
"first_name": "Marleen",
"last_name": "Gibson",
"profile_id": 525,
"referral_code": "756809"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.015Z",
"wage": {
"amount": "36.88",
"type": "fixed"
}
},
{
"id": 318,
"chat_id": 569,
"contract": {
"id": 246,
"days_to_expire": 31,
"end_date": "2025-04-20",
"job_driver_id": 318,
"policy_schema": {
"markable_as_ended": true
},
"start_date": "2025-03-19",
"state": "active"
},
"driver": {
"id": 1142,
"first_name": "Yuriko",
"last_name": "Cormier",
"profile_id": 526,
"referral_code": "339078"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.036Z",
"wage": {
"amount": "54.11",
"type": "fixed"
}
},
{
"id": 319,
"chat_id": 570,
"contract": {
"id": 247,
"days_to_expire": 31,
"end_date": "2025-04-20",
"job_driver_id": 319,
"policy_schema": {
"markable_as_ended": true
},
"start_date": "2025-03-19",
"state": "active"
},
"driver": {
"id": 1143,
"first_name": "Denis",
"last_name": "Bashirian",
"profile_id": 527,
"referral_code": "915138"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.059Z",
"wage": {
"amount": "39.25",
"type": "fixed"
}
},
{
"id": 320,
"chat_id": 571,
"contract": {
"id": 248,
"days_to_expire": 31,
"end_date": "2025-04-20",
"job_driver_id": 320,
"policy_schema": {
"markable_as_ended": true
},
"start_date": "2025-03-19",
"state": "active"
},
"driver": {
"id": 1144,
"first_name": "Jocelyn",
"last_name": "Haley",
"profile_id": 528,
"referral_code": "385671"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.077Z",
"wage": {
"amount": "19.51",
"type": "fixed"
}
},
{
"id": 321,
"chat_id": 572,
"contract": {
"id": 249,
"days_to_expire": -1,
"end_date": "2025-03-19",
"job_driver_id": 321,
"policy_schema": {
"markable_as_ended": false
},
"start_date": "2025-02-20",
"state": "expired"
},
"driver": {
"id": 1145,
"first_name": "Mirta",
"last_name": "Hoeger",
"profile_id": 529,
"referral_code": "698196"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.096Z",
"wage": {
"amount": "74.1",
"type": "fixed"
}
},
{
"id": 322,
"chat_id": 573,
"contract": {
"id": 250,
"days_to_expire": -1,
"end_date": "2025-03-19",
"job_driver_id": 322,
"policy_schema": {
"markable_as_ended": false
},
"start_date": "2025-02-20",
"state": "expired"
},
"driver": {
"id": 1146,
"first_name": "Giovanna",
"last_name": "Padberg",
"profile_id": 530,
"referral_code": "871148"
},
"kind": "accepted",
"started_at": null,
"updated_at": "2025-03-20T10:02:12.117Z",
"wage": {
"amount": "40.91",
"type": "fixed"
}
}
]
}