# Get support case (/docs/api-reference/account/getSupportCase)

> One support case you filed, with its public thread: the messages you and support exchanged, as your ticket page shows them. Internal notes are never included. A case you didn't file returns 404, and so does any case for a white-label account. user_id is not accepted (400).

**GET** `/support/cases/{case_number}`

One support case you filed, with its public thread: the messages you
and support exchanged, as your ticket page shows them. Internal notes
are never included. A case you didn't file returns `404`, and so does
any case for a white-label account. `user_id` is not accepted (`400`).

```yaml
operationId: getSupportCase
parameters:
  - name: case_number
    in: path
    required: true
    schema:
      type: string
    description: The case number, as List support cases returns it.
responses:
  '200':
    description: The case.
    content:
      application/json:
        schema:
          type: object
          required:
            - case_number
            - title
            - description
            - type
            - priority
            - status
            - status_label
            - created_at
            - messages
          properties:
            case_number:
              type: string
            title:
              type: string
            description:
              type: string
            type:
              type: string
              enum:
                - bug
                - feature_request
            priority:
              type: string
              description: You file with `critical`, `high` or `medium`; support may set `low`.
              enum:
                - critical
                - high
                - medium
                - low
            status:
              type: string
            status_label:
              type: string
            created_at:
              type: string
              format: date-time
            messages:
              type: array
              items:
                type: object
                properties:
                  date:
                    type: string
                    format: date-time
                  author:
                    type: string
                  body:
                    type: string
                  from_customer:
                    type: boolean
                  from_support:
                    type: boolean
  '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.
  '404':
    description: Not found, or not yours. The two look the same, so an id says nothing about other accounts.
    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: not_found
          error_description: Support case not found.
```

**curl**

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