# List support cases (/docs/api-reference/account/listSupportCases)

> The support cases you filed, newest first, as your ticket page lists them: case number, title, type, status, when it was created and resolved, and when the last public message was posted. Read one case's messages with Get support case.

**GET** `/support/cases`

The support cases you filed, newest first, as your ticket page lists
them: case number, title, type, status, when it was created and
resolved, and when the last public message was posted. Read one
case's messages with Get support case.

Cases belong to the person who filed them, so you see your own cases,
not your colleagues'. There is no `user_id` parameter: sending one
returns `400`, and a reseller reads a client's cases with the client's
own API key. A white-label account gets an empty list.

```yaml
operationId: listSupportCases
parameters:
  - name: pageno
    in: query
    schema:
      type: integer
      default: 1
      minimum: 1
      maximum: 10000
    description: Page number.
  - name: pagesize
    in: query
    schema:
      type: integer
      default: 30
      minimum: 1
      maximum: 150
    description: Cases per page.
responses:
  '200':
    description: The cases, one page.
    content:
      application/json:
        schema:
          type: object
          properties:
            cases:
              type: array
              items:
                type: object
                properties:
                  case_number:
                    type: string
                  title:
                    type: string
                  type:
                    type: string
                    enum:
                      - bug
                      - feature_request
                  status:
                    type: string
                    enum:
                      - new
                      - in_progress
                      - waiting
                      - resolved
                      - closed
                      - reopened
                  status_label:
                    type: string
                    example: Waiting on Customer
                  created_at:
                    type: string
                    format: date-time
                  resolved_at:
                    type:
                      - string
                      - 'null'
                    format: date-time
                  last_public_message_at:
                    type:
                      - string
                      - 'null'
                    format: date-time
                    description: >-
                      When the last message you or support posted on the case was sent. `null` when
                      there is none yet.
            total_records:
              type: integer
  '400':
    description: A bad parameter. `error_description` says which.
    content:
      application/json:
        schema:
          type: object
          properties:
            error:
              type: string
              description: Machine-readable error code.
            error_description:
              type: string
              description: Human-readable explanation.
            code:
              type: string
              description: |
                Stable, specific reason. Present on the newer endpoints (Voice
                cloning, WhatsApp); older endpoints return only `error`.
            request_id:
              type: string
              description: |
                Correlates this response with the server log. Present alongside
                `code`. Also sent as the `X-Request-Id` header.
        example:
          error: invalid_request
          error_description: pagesize must be between 1 and 150.
  '401':
    description: Missing or invalid API key.
    content:
      application/json:
        schema:
          type: object
          properties:
            error:
              type: string
              description: Machine-readable error code.
            error_description:
              type: string
              description: Human-readable explanation.
            code:
              type: string
              description: |
                Stable, specific reason. Present on the newer endpoints (Voice
                cloning, WhatsApp); older endpoints return only `error`.
            request_id:
              type: string
              description: |
                Correlates this response with the server log. Present alongside
                `code`. Also sent as the `X-Request-Id` header.
        example:
          error: unauthorized
          error_description: Missing or invalid API key
  '403':
    description: This API key can't use this endpoint.
    content:
      application/json:
        schema:
          type: object
          properties:
            error:
              type: string
              description: Machine-readable error code.
            error_description:
              type: string
              description: Human-readable explanation.
            code:
              type: string
              description: |
                Stable, specific reason. Present on the newer endpoints (Voice
                cloning, WhatsApp); older endpoints return only `error`.
            request_id:
              type: string
              description: |
                Correlates this response with the server log. Present alongside
                `code`. Also sent as the `X-Request-Id` header.
        example:
          error: forbidden
          error_description: Support cases are not available to this credential.
```

**curl**

```bash
curl -X GET "https://omnidim.io/api/v1/support/cases" \
  -H "Authorization: Bearer $OMNIDIM_API_KEY"
```