---
updatedAt: 2026-05-22T07:58:05.000Z
agentTools:
  projectIndex: https://developers.trengo.com/llms.txt
---

# List all tickets

This endpoint lists all tickets which are authorized to the current user

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "trengo",
    "version": "2.0"
  },
  "servers": [
    {
      "url": "https://app.trengo.com/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "x-bearer-format": "bearer"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/tickets": {
      "get": {
        "summary": "List all tickets",
        "description": "This endpoint lists all tickets which are authorized to the current user",
        "operationId": "list-all-tickets",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Pagination page",
            "schema": {
              "type": "string",
              "default": "1"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Filter by status  (`OPEN`, `ASSIGNED`,`CLOSED`,`INVALID`)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "contact_id",
            "in": "query",
            "description": "Filter by a contact id",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "users[]",
            "in": "query",
            "description": "Filter by one or more user ids",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "channels[]",
            "in": "query",
            "description": "Filter by one or more channels ids",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "labels[]",
            "in": "query",
            "description": "Filter by one or more label ids",
            "schema": {
              "type": "array",
              "items": {
                "type": "integer",
                "format": "int32"
              }
            }
          },
          {
            "name": "last_message_type",
            "in": "query",
            "description": "Filter by the last message type (`INBOUND`,`OUTBOUND`)",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Orders by last messages at, 'date' orders at oldest first",
            "schema": {
              "type": "string",
              "default": "-date"
            }
          },
          {
            "in": "query",
            "name": "updated_at_gt",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "description": "Filter by updated at (greater than)",
            "required": false
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"data\": [{\n    \"id\": 2501567,\n    \"status\": \"ASSIGNED\",\n    \"subject\": \"Support question\",\n    \"closed_at\": \"2018-07-24 17:36:54\",\n    \"custom_data\": null,\n    \"assigned_at\": \"2018-07-24 17:44:49\",\n    \"created_at\": \"2018-07-24 17:15:40\",\n    \"updated_at\": \"2018-07-24 17:45:00\",\n    \"signature\": null,\n    \"user_id\": 1,\n    \"contact_id\": 1,\n    \"channel\": {\n      \"id\": 736,\n      \"name\": null,\n      \"title\": \"Test channel\",\n      \"type\": \"EMAIL\",\n      \"status\": \"ACTIVE\",\n      \"display_name\": \"Test channel\",\n      \"text\": \"Test channel\"\n    },\n    \"latest_message\": {\n      \"id\": 18231,\n      \"type\": \"OUTBOUND\",\n      \"body_type\": \"TEXT\",\n      \"message\": \"Test message\",\n      \"file_name\": null,\n      \"file_caption\": null,\n      \"location_data\": null,\n      \"created_at\": \"2018-07-24 17:31:34\",\n      \"updated_at\": \"2018-07-24 17:31:37\"\n    }\n  }], \n  // pagination info\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```