# List the company's support tickets, newest first

**GET** `/tickets`

## Parameters

### `limit` (_query_, optional)

Page size (max 100)

- **Type:** `integer`
- **Default:** `50`
- **Example:** `50`
- **Constraints:** >= 1, <= 100

### `offset` (_query_, optional)

Number of items to skip

- **Type:** `integer`
- **Default:** `0`
- **Example:** `0`
- **Constraints:** >= 0

### `status` (_query_, optional)

Support ticket status; WAITING_CLIENT means Fleet waits for the company's answer

- **Type:** `string`
- **Enum:** `"OPENED"`, `"WAITING_CLIENT"`, `"WAITING_FLEET"`, `"WAITING_SUPPLIER"`, `"WAITING_DEVICE_RETURN"`, `"IN_REPAIR"`, `"SHIPPING"`, `"CLOSING"`, `"SOLVED"`, `"CLOSED"`, `"DELETED"`

### `requester_id` (_query_, optional)

- **Type:** `integer`
- **Constraints:** > 0

### `category` (_query_, optional)

What the request is about, as in Cockpit's support form

- **Type:** `string`
- **Example:** `"HARDWARE_PROBLEM"`
- **Enum:** `"ORDER__UPDATE"`, `"ORDER__SHIPPING"`, `"CONTRACT__INFORMATION"`, `"CONTRACT__RENEWAL"`, `"CONTRACT__INVOICE"`, `"INSURANCE__LOST"`, `"INSURANCE__BROKEN"`, `"TECHNICAL_PROBLEM"`, `"MDM"`, `"COCKPIT"`, `"EDR"`, `"INSURANCE_OXIDATION"`, `"PASSWORD_MANAGER"`, `"VPN"`, `"SOFTWARE_PROBLEM"`, `"HARDWARE_PROBLEM"`, `"STORAGE"`, `"TRANSFER"`, `"RETURN"`, `"MDM_INSTALL"`, `"MDM_ACTIONS"`, `"ORDER_ISSUE"`, `"INVOICE"`

### `reference` (_query_, optional)

The reference Fleet support quotes

- **Type:** `string`
- **Example:** `"48213"`
- **Constraints:** pattern `^(hub-\d{1,9}|\d{1,18})$`

## Responses

### 200

Paginated tickets

**application/json**

_Schema ref:_ `#/components/schemas/ListTicketsResponse` (ListTicketsResponse)

```json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "reference": {
            "type": "string",
            "description": "Reference Fleet support quotes in its replies",
            "example": "48213"
          },
          "subject": {
            "type": "string",
            "nullable": true
          },
          "category": {
            "type": "string",
            "nullable": true,
            "enum": [
              "ORDER__UPDATE",
              "ORDER__SHIPPING",
              "CONTRACT__INFORMATION",
              "CONTRACT__RENEWAL",
              "CONTRACT__INVOICE",
              "INSURANCE__LOST",
              "INSURANCE__BROKEN",
              "TECHNICAL_PROBLEM",
              "MDM",
              "COCKPIT",
              "EDR",
              "INSURANCE_OXIDATION",
              "PASSWORD_MANAGER",
              "VPN",
              "SOFTWARE_PROBLEM",
              "HARDWARE_PROBLEM",
              "STORAGE",
              "TRANSFER",
              "RETURN",
              "MDM_INSTALL",
              "MDM_ACTIONS",
              "ORDER_ISSUE",
              "INVOICE"
            ],
            "description": "What the request is about, as in Cockpit's support form",
            "example": "HARDWARE_PROBLEM"
          },
          "status": {
            "type": "string",
            "enum": [
              "OPENED",
              "WAITING_CLIENT",
              "WAITING_FLEET",
              "WAITING_SUPPLIER",
              "WAITING_DEVICE_RETURN",
              "IN_REPAIR",
              "SHIPPING",
              "CLOSING",
              "SOLVED",
              "CLOSED",
              "DELETED"
            ],
            "description": "Support ticket status; WAITING_CLIENT means Fleet waits for the company's answer"
          },
          "content": {
            "type": "string",
            "nullable": true,
            "description": "The request as the requester wrote it"
          },
          "requester_id": {
            "type": "integer"
          },
          "order_id": {
            "type": "integer",
            "nullable": true
          },
          "device_ids": {
            "type": "array",
            "items": {
              "type": "integer"
            }
          },
          "opened_at": {
            "type": "string",
            "nullable": true,
            "description": "ISO 8601"
          },
          "closed_at": {
            "type": "string",
            "nullable": true,
            "description": "ISO 8601"
          }
        },
        "required": [
          "id",
          "reference",
          "subject",
          "category",
          "status",
          "content",
          "requester_id",
          "order_id",
          "device_ids",
          "opened_at",
          "closed_at"
        ]
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "total": {
          "type": "integer",
          "description": "Total items matching filters (before paging)",
          "example": 42
        },
        "limit": {
          "type": "integer",
          "description": "Page size used for this response",
          "example": 50
        },
        "offset": {
          "type": "integer",
          "description": "Offset used for this response",
          "example": 0
        }
      },
      "required": [
        "total",
        "limit",
        "offset"
      ]
    }
  },
  "required": [
    "data",
    "meta"
  ]
}
```

### 400

Validation error

**application/json**

_Schema ref:_ `#/components/schemas/ValidationErrorResponse` (ValidationErrorResponse)

```json
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "Every validation failure, comma-separated",
      "example": "Required, must be an ISO 3166-1 alpha-2 country code"
    },
    "type": {
      "type": "string",
      "enum": [
        "validation_error"
      ]
    },
    "error": {
      "type": "string",
      "enum": [
        "validation_error"
      ]
    }
  },
  "required": [
    "message",
    "type",
    "error"
  ]
}
```

### 401

Missing, invalid, or revoked API key

**text/plain**

```json
{
  "type": "string",
  "example": "Unauthorized"
}
```

### 429

Rate limit exceeded. The RateLimit-* headers give the limit and the reset time.

**text/plain**

```json
{
  "type": "string",
  "example": "Too many requests, please try again later."
}
```

### 500

Unexpected server error

**application/json**

_Schema ref:_ `#/components/schemas/InternalErrorResponse` (InternalErrorResponse)

```json
{
  "type": "object",
  "properties": {
    "error": {
      "type": "string",
      "enum": [
        "INTERNAL_ERROR"
      ]
    }
  },
  "required": [
    "error"
  ]
}
```

### 503

Rate limiting is temporarily unavailable; retry with backoff

**application/json**

_Schema ref:_ `#/components/schemas/RateLimiterUnavailableResponse` (RateLimiterUnavailableResponse)

```json
{
  "type": "object",
  "properties": {
    "message": {
      "type": "string"
    }
  },
  "required": [
    "message"
  ]
}
```

## Security

```json
[
  {
    "bearerAuth": []
  }
]
```

**bearerAuth:** Bearer token using a Fleet platform API key (flt_sk_…).

---

_Generated from the OpenAPI specification for raw Markdown / tooling use._
