---
title: "Create Route"
method: POST
path: "/routes"
---

# Create Route

`POST /routes`

## Request body

- object
  - `route_name` string, required
  - `route_description` string
  - `departure` string, date, required
  - `route_type` 'FASTEST' | 'SHORTEST', required
  - `is_locked` boolean
  - `transport_mode` 'CAR' | 'TRUCK' | 'PEDESTRIAN', required
  - `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
  - `color` string, required
  - `duration` integer, required
  - `enable_traffic` boolean
  - `jobs` object[]
    - `job_uid` string
    - `geo_cords` integer[]
  - `users` object[]
    - `user_uid` string
    - `team_uid` string

## Response `200`

200

- object
  - `type` string
  - `message` string
  - `title` string
  - `job_route_uid` 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)
