---
title: "Optimize Job Route"
method: POST
path: "/routes/{route_uid}/optimize"
---

# Optimize Job Route

`POST /routes/{route_uid}/optimize`

## Path parameters

- `route_uid` string, required

## Request body

- object
  - `start_location` object
    - `city` string
    - `state` string
    - `street` string
    - `country` string
    - `landmark` string
    - `zip_code` string
    - `geo_cordinates` number[]
    - `first_name` string
    - `last_name` string
    - `phone_number` string — Customer phone number
    - `email` string — Customer email
    - `label` string — Label
  - `end_location` object
    - `city` string
    - `state` string
    - `street` string
    - `country` string
    - `landmark` string
    - `zip_code` string
    - `geo_cordinates` number[]
    - `first_name` string
    - `last_name` string
    - `phone_number` string — Customer phone number
    - `email` string — Customer email
    - `label` string — Label

## Response `200`

200

- object
  - `type` string
  - `message` string
  - `title` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/zuper/apis/zuper-pro-api.md) · [All operations](https://skmtc.net/zuper/apis/zuper-pro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuper/zuper-pro-api/versions/c7b8028a05de/schema)
