---
title: "Dispatch Routes"
method: POST
path: "/v1/routes/dispatch"
tags: ["Route"]
---

# Dispatch Routes

`POST /v1/routes/dispatch`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/routes/dispatch`
- Auth: none declared

Dispatch one or more routes to delivery providers. Creates jobs for each route and assigns them based on the organization's dispatch strategy.

## Request body

- DispatchRoutesInputSerializer: Input for dispatching routes to jobs.
  - `routeIds` string[], required: Route IDs (internal or external) to dispatch
  - `autoDispatch` boolean: Automatically dispatch to provider (default: true)

## Response `200`

OK

- DispatchRoutesOutputSerializer: Response payload for dispatching routes.
  - `jobs` DispatchedJobSerializer[], required: Jobs created from the dispatched routes.
    - `id` string, required: The job id.
    - `portalUrl` string, required: URL to view the job in the portal.

## Other responses

- `422`: Unprocessable Content

---

[API](https://skmtc.dev/nash/apis/nash-api.md) - [All operations](https://skmtc.dev/nash/apis/nash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nash/apis/nash-api/revisions/e3713837c5c9?raw)
