---
title: "Assigna a Driver to a Shipment"
method: POST
path: "/shipment/assign"
tags: ["Carrier"]
---

# Assigna a Driver to a Shipment

`POST /shipment/assign`

## Request body

- AssignDriverRequest
  - `offer_id` string
  - `driver_id` string

## Response `200`

Status Code 200:  Successful Response - the request was successful!

- AssignDriverResponse
  - `success` boolean
  - `jobs` string[]

## Other responses

- `400` — Status Code 400: Bad Request Response - the request header and/or body is invalid
- `500` — StatusCode 500: Internal Server Error Response - there's a problem with the Public API service

---

[API](https://skmtc.net/cargomatic/apis/cargomatic-public-api.md) · [All operations](https://skmtc.net/cargomatic/apis/cargomatic-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cargomatic/cargomatic-public-api/revisions/4aa7f4326443/schema)
