> ## Documentation Index
> Fetch the complete documentation index at: https://docs.devmob.app.br/llms.txt
> Use this file to discover all available pages before exploring further.

# List Support Cases

> Lists support cases.



## OpenAPI

````yaml /api-reference/customer/openapi.json get /api/v1/customer/support-cases
openapi: 3.0.0
info:
  title: OABUS Customer API
  description: OABUS API
  version: '1.0'
  contact: {}
servers: []
security: []
tags: []
paths:
  /api/v1/customer/support-cases:
    get:
      tags:
        - Support Case
      summary: List Support Cases
      description: Lists support cases.
      operationId: listSupportCases
      parameters:
        - name: limit
          required: false
          in: query
          schema:
            default: 10
            description: Items per page
            example: 10
            type: number
        - name: page
          required: false
          in: query
          schema:
            default: 1
            description: Page number
            example: 1
            type: number
        - name: createdAt
          required: false
          in: query
          schema:
            description: Created at range
            example: '>=2024-01-01;<=2024-12-31'
            type: string
        - name: priority
          required: false
          in: query
          schema:
            type: string
            enum:
              - LOW
              - MEDIUM
              - HIGH
              - URGENT
            description: Support case priority
            example: MEDIUM
        - name: status
          required: false
          in: query
          schema:
            type: string
            enum:
              - OPEN
              - WAITING_CUSTOMER
              - WAITING_SUPPORT
              - RESOLVED
              - CLOSED
              - CANCELED
            description: Support case status
            example: OPEN
        - name: sortBy
          required: false
          in: query
          schema:
            default: createdAt
            description: Field to sort by
            example: createdAt
            type: string
            enum:
              - createdAt
              - updatedAt
              - priority
        - name: sortOrder
          required: false
          in: query
          schema:
            default: desc
            description: Sort order
            example: desc
            type: string
            enum:
              - asc
              - desc
        - name: fields
          required: false
          in: query
          description: >-
            Comma-separated list of fields to include in the response. Supports
            dot notation for nested projection (e.g.
            `id,name,user.email,trips.route.id`). Unknown fields are silently
            dropped.
          schema:
            type: string
      responses:
        '200':
          $ref: '#/components/responses/ListSupportCases200Response'
        '400':
          $ref: '#/components/responses/ListSupportCases400Response'
        '401':
          $ref: '#/components/responses/ListSupportCases401Response'
        '500':
          $ref: '#/components/responses/ListSupportCases500Response'
      security:
        - bearer: []
components:
  responses:
    ListSupportCases200Response:
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  type: object
                  properties:
                    supportCaseId:
                      type: string
                      format: uuid
                      description: Support case identifier
                      example: 0197f150-40d6-7c1a-bdf2-c5884e07d401
                    customerId:
                      description: Customer identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    organizationId:
                      description: Organization identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    companyId:
                      description: Company identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    cooperativeId:
                      description: Cooperative identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    transportOperatorId:
                      description: Transport operator identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    openedByUserId:
                      type: string
                      format: uuid
                      description: Opening user identifier
                      example: 0197a7f6-2c4d-74ae-b89b-9d36d9c341f2
                    assignedToUserId:
                      description: Assigned user identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    categoryId:
                      description: Category identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    relatedOrderId:
                      description: Related order identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    relatedTripReviewId:
                      description: Related trip review identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    relatedSalesTicketId:
                      description: Related ticket identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    relatedTripId:
                      description: Related trip identifier
                      example: null
                      nullable: true
                      type: string
                      format: uuid
                    code:
                      type: string
                      maxLength: 40
                      description: Support case code
                      example: SUP-20260710-0001
                    scopeType:
                      type: string
                      enum:
                        - CUSTOMER
                        - COMPANY
                        - COOPERATIVE
                        - TRANSPORT_OPERATOR
                        - BKO
                      description: Support case scope
                      example: CUSTOMER
                    priority:
                      type: string
                      enum:
                        - LOW
                        - MEDIUM
                        - HIGH
                        - URGENT
                      description: Support case priority
                      example: MEDIUM
                    subject:
                      type: string
                      maxLength: 160
                      description: Support case subject
                      example: Problema na viagem
                    description:
                      type: string
                      maxLength: 5000
                      description: Initial description
                      example: Preciso de ajuda com minha viagem.
                    status:
                      type: string
                      enum:
                        - OPEN
                        - WAITING_CUSTOMER
                        - WAITING_SUPPORT
                        - RESOLVED
                        - CLOSED
                        - CANCELED
                      description: Support case status
                      example: OPEN
                    resolvedAt:
                      description: Resolved at
                      example: null
                      nullable: true
                      type: string
                      format: date-time
                    closedAt:
                      description: Closed at
                      example: null
                      nullable: true
                      type: string
                      format: date-time
                    createdAt:
                      type: string
                      format: date-time
                      description: Created at
                      example: '2026-07-10T12:00:00.000Z'
                    updatedAt:
                      type: string
                      format: date-time
                      description: Updated at
                      example: '2026-07-10T12:00:00.000Z'
                    deletedAt:
                      description: Deleted at
                      example: null
                      nullable: true
                      type: string
                      format: date-time
                  required:
                    - supportCaseId
                    - openedByUserId
                    - code
                    - scopeType
                    - priority
                    - subject
                    - description
                    - status
                    - createdAt
                    - updatedAt
                  additionalProperties: false
                  description: Support case
              meta:
                type: object
                properties:
                  limit:
                    type: number
                    description: Items per page
                    example: 10
                  page:
                    type: number
                    description: Current page
                    example: 1
                  totalItems:
                    type: number
                    description: Total items
                    example: 100
                  totalPages:
                    type: number
                    description: Total pages
                    example: 10
                required:
                  - limit
                  - page
                  - totalItems
                  - totalPages
                additionalProperties: false
            required:
              - data
              - meta
            additionalProperties: false
            description: Support case page
      description: OK
    ListSupportCases400Response:
      content:
        application/json:
          example:
            errors:
              - message: required
                path: name
            message: Bad Request Error
            statusCode: 400
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 400
                type: number
              errors:
                items:
                  properties:
                    message:
                      type: string
                    path:
                      type: string
                  required:
                    - message
                    - path
                  type: object
                type: array
            required:
              - message
              - statusCode
            type: object
      description: Bad Request Error
    ListSupportCases401Response:
      content:
        application/json:
          example:
            message: Missing or invalid access token
            statusCode: 401
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 401
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Unauthorized
    ListSupportCases500Response:
      content:
        application/json:
          example:
            message: Internal Server Error
            statusCode: 500
          schema:
            properties:
              message:
                type: string
              statusCode:
                enum:
                  - 500
                type: number
            required:
              - message
              - statusCode
            type: object
      description: Internal Server Error
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````