---
title: "Fetch repair orders by user ID"
method: POST
path: "/api/users/{userId}/repair-orders/{referenceNum}/pre-auth"
tags: ["repair-order-controller"]
---

# Fetch repair orders by user ID

`POST /api/users/{userId}/repair-orders/{referenceNum}/pre-auth`

Pre Authorize a repair order. Will throw an error if the repair order can't be pre authorized. Won't execute any logic if a previous pre authorization made with the default payment method is found

## Path parameters

- `userId` integer, required
- `referenceNum` string, required

## Response `200`

OK

## Other responses

- `400` — Bad Request.
- `401` — Unauthorized.
- `403` — Forbidden.
- `404` — Resource not found.

---

[API](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api.md) · [All operations](https://skmtc.dev/repairsmith/apis/autonation-mobile-service-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/repairsmith/autonation-mobile-service-developer-api/revisions/8ef7fb1398f6/schema)
