---
title: "Search Job Targets"
method: GET
path: "/api/field/job-targets"
tags: ["field"]
---

# Search Job Targets

`GET /api/field/job-targets`

## Request

- Base URL: `https://api.electricair.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.electricair.io/api/field/job-targets`
- Auth: none declared

Search projects, open deals, service requests and customers to attach a new job to.

## Query parameters

- `q` string

## Response `200`

OK

- JobTargetsSchema
  - `projects` TargetOptionSchema[], required
    - `id` integer, required
    - `label` string, required
    - `detail` string, required
    - `status` string
    - `customer_id` integer, nullable
  - `deals` TargetOptionSchema[], required
    - `id` integer, required
    - `label` string, required
    - `detail` string, required
    - `status` string
    - `customer_id` integer, nullable
  - `service_requests` TargetOptionSchema[], required
    - `id` integer, required
    - `label` string, required
    - `detail` string, required
    - `status` string
    - `customer_id` integer, nullable
  - `customers` TargetCustomerSchema[], required
    - `id` integer, required
    - `label` string, required
    - `detail` string, required
    - `locations` TargetLocationSchema[], required
      - `id` integer, required
      - `address` string, required

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-11-02** `e9b987a69618`: 3 info
  - added the optional property `deals/items/customer_id` to the response with the `200` status
  - added the optional property `projects/items/customer_id` to the response with the `200` status
  - added the optional property `service_requests/items/customer_id` to the response with the `200` status
- **2026-10-28** `558d42db3b2e`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/changes/api/field/job-targets/get.md)

---

[API](https://skmtc.dev/electricair/apis/electric-air-autoquote-api.md) - [All operations](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/llms.txt) - [OpenAPI document](https://skmtc.dev/electricair/apis/electric-air-autoquote-api/revisions/a13d832a5676?raw)
