---
title: "Export tickets as JSON"
method: GET
path: "/tickets/export"
tags: ["Ticket"]
---

# Export tickets as JSON

`GET /tickets/export`

Returns the project's tickets as a JSON array, capped at 25,000 tickets. Supports the usual ticket
filters. For larger exports or CSV output use GET /tickets/csv-export.

Unlike GET /tickets, exports include archived tickets by default — there is no `ignoreArchived` to set
(it is accepted and ignored). Narrow the export with `archived=true` / `archived=false` instead.

This endpoint returns ticket records only, not their conversations: fetch each ticket's messages with
GET /messages?ticket={ticketId}. Retention limits which conversations still exist — see GET /tickets.

## 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/b8a72fda881e/schema)
