---
title: "Extended ticket search (contacts + tickets)"
method: GET
path: "/tickets/extendedsearch"
tags: ["Ticket"]
---

# Extended ticket search (contacts + tickets)

`GET /tickets/extendedsearch`

Searches contacts and tickets in parallel and returns two buckets: `sessionResults` (tickets belonging to
matching contacts, with their latest comment) and `generalResults`. Each bucket is capped at 250 tickets.

Query parameters: `searchTerm` (required), `type` (match mode: `STRICT` by default, or `BROAD`; note this
is NOT the ticket type here), `ticketType` (optional ticket type filter; by default CRASH, SURVEY and BOT
tickets are excluded), `ticketStatus` (optional status filter), `addSession` (set to `true` to include
contact data).

## Headers

- `project` string, required

## Response `200`

Ok

- unknown

---

[API](https://skmtc.net/gleap/apis/gleap-server.md) · [All operations](https://skmtc.net/gleap/apis/gleap-server/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gleap/gleap-server/revisions/16a183beaef3/schema)
