---
title: "Get all tickets"
method: GET
path: "/tickets"
tags: ["Ticket"]
---

# Get all tickets

`GET /tickets`

Get all tickets in a project with support for filtering, sorting, and pagination.

**Filtering:**
- Filter by type: `type=BUG` or `type=BUG,FEATURE_REQUEST`
- Filter by status: `status=OPEN`
- Filter by priority: `priority=HIGH` or `priority=HIGH,MEDIUM`
- Filter by archived state: archived tickets are hidden by default; pass `ignoreArchived=true` to include them,
  or `ignoreArchived=true&archived=true` for archived tickets only
- Filter by spam: `isSpam=false`
- Filter the archive by archive date: `startDate` / `endDate` (ISO 8601) narrow the archive, spam and
  waiting-on-customer views to tickets archived within that range. Ignored on the non-archive views,
  where `archivedAt` is unset.

**Sorting:**
- Sort by creation date: `sort=-createdAt` (newest first) or `sort=createdAt` (oldest first)
- Sort by priority: `sort=priority` (highest first: HIGH, MEDIUM, LOW) or `sort=-priority` (lowest first)
- Sort by updated date: `sort=-updatedAt`
- Default sort (no `sort` param): most recent activity first (`lastNotification` descending)
- Archived, spam and waiting-on-customer views always sort by `archivedAt` descending; a `sort` param is ignored there

**Pagination:**
- Limit results: `limit=20` (default: 500, max: 500)
- Skip results: `skip=0` (for pagination: `skip=(page-1)*limit`)

## 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/versions/2bfe054193b5/schema)
