---
title: "Assign Driver"
method: POST
path: "/api/v2/shipments/{shipment_id}/assign_driver"
tags: ["Shipments"]
---

# Assign Driver

`POST /api/v2/shipments/{shipment_id}/assign_driver`

Allows a three party partner to set a driver for a taken load.

## Path parameters

- `shipment_id` string, uuid, required — Shipment UUID

## Request body

- object
  - `driver_id` string — Unique identifier for the driver.

## Response `204`

All provided data is valid and the driver was set.

## Other responses

- `403` — Logged carrier is not related to the driver or is not related to the shipment and driver can't be assign.
- `404` — Shipment doesn't exist.

---

[API](https://skmtc.dev/loadsmart/apis/loadsmart-api.md) · [All operations](https://skmtc.dev/loadsmart/apis/loadsmart-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/loadsmart/loadsmart-api/revisions/6021c5806fe9/schema)
