> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://api.cruzcontrol.app/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://api.cruzcontrol.app/_mcp/server.

# Send your first wash

> Copy a sample sendWash body, post it, and understand the success response.

# Send your first wash

This is the main call most integrators care about: **tell the tunnel which wash to run**.

Endpoint: [Send Wash](https://api.cruzcontrol.app/wash-api/wash-api/wash-operations/send-wash) → `POST /sendWash`

> **Use a test package**
>
> Coordinate with the site before sending live traffic. Start with a known test wash number they approve.

## The request body (plain English)

| Field                | Required? | What it means                                        |
| -------------------- | --------- | ---------------------------------------------------- |
| `BaseWash`           | **Yes**   | Main wash package number                             |
| `UpsellList`         | No        | Extra options (list of numbers). Use `[]` if none    |
| `OverrideList`       | No        | Override options (list of numbers). Use `[]` if none |
| `requeue`            | No        | MCWW: `true` if this wash is a requeue               |
| `vehicle_identifier` | No        | MCWW: short text tag (max 20 characters)             |

> **Info**
>
> If the site uses a **wash map**, the numbers in your JSON may be **POS codes**, not the final controller codes. The API translates them.\
> If there is no map, send controller codes directly.

## Copy-paste examples

#### MCWW example

```bash
curl -X POST http://CONTROLLER_IP:4444/sendWash \
  -H "Content-Type: application/json" \
  -d "{
    \"BaseWash\": 1,
    \"UpsellList\": [],
    \"OverrideList\": []
  }"
```

With options (after you know valid codes for that site):

```json
{
  "BaseWash": 1,
  "UpsellList": [1, 2],
  "OverrideList": [2],
  "requeue": false,
  "vehicle_identifier": "TEST-CAR"
}
```

#### Washlink example

Washlink ranges: BaseWash **1–20**, Upsell/Override **1–10**.

```bash
curl -X POST http://CONTROLLER_IP:4444/sendWash \
  -H "Content-Type: application/json" \
  -d "{
    \"BaseWash\": 1,
    \"UpsellList\": [],
    \"OverrideList\": []
  }"
```

## What success looks like

HTTP **200** with this shape (both modes):

```json
{
  "WashPackage": 1,
  "UpsellList": [],
  "OverrideList": []
}
```

| Field          | Meaning                             |
| -------------- | ----------------------------------- |
| `WashPackage`  | Package that was written / accepted |
| `UpsellList`   | Upsells as processed                |
| `OverrideList` | Overrides as processed              |

> **Note**
>
> On MCWW, `WashPackage` is **not** always a round-trip echo of the `BaseWash` you typed after mapping.\
> If you got **200**, treat the wash as accepted.

## What failure looks like

Errors usually look like:

```json
{
  "message": "something human-readable",
  "error": "optional_code"
}
```

| Status  | Typical meaning                                                       |
| ------- | --------------------------------------------------------------------- |
| **400** | Bad numbers, validation failed, or controller rejected the write      |
| **404** | That endpoint doesn’t exist in this mode (wrong mode?)                |
| **500** | Server/internal problem — or Washlink stacker disabled                |
| **501** | Wash counts not available for that MCWW series (counts endpoint only) |

## After a successful wash

Optional next checks (MCWW):

1. [Vehicle Status](https://api.cruzcontrol.app/wash-api/wash-api/vehicle-status/read-vehicle-status) — see `wash_in_queue` / photo-eye flags
2. [Get Wash Counts](https://api.cruzcontrol.app/wash-api/wash-api/wash-operations/get-wash-counts) — tallies (API **2.4+**)

Washlink: vehicle endpoints are **404**. Use counts + tunnel controls instead.

## Prefer these conveyor calls

* Start conveyor: [Conveyor Request](https://api.cruzcontrol.app/wash-api/wash-api/tunnel-control/send-conveyor-request)
* Pause (Washlink stop): [Pause Tunnel](https://api.cruzcontrol.app/wash-api/wash-api/tunnel-control/send-pause-tunnel)

Do **not** use `/ConveyorOn`, `/ConveyorOff`, or `/ConveyorAuto` — they always return deprecated errors.

---

Stuck? See [Common questions](/faq) or the full [Wash API Overview](/overview).