---
title: "GET /Contact/{id}/casesPrimary"
method: GET
path: "/Contact/{id}/casesPrimary"
tags: ["Contact"]
---

# GET /Contact/{id}/casesPrimary

`GET /Contact/{id}/casesPrimary`

List 'Case' records related through the 'casesPrimary' link.

## Response `200`

Success.

- object
  - `list` Case[] — Records.
    - `id` string — An ID.
    - `name` string — A one-line string.
    - `number` integer — An auto-increment number.
    - `status` 'New' | 'Assigned' | 'Pending' | 'Closed' | 'Rejected' | 'Duplicate'
    - `priority` 'Low' | 'Normal' | 'High' | 'Urgent'
    - `type` 'Question' | 'Incident' | 'Problem', nullable
    - `description` string, nullable — A multi-line text.
    - `accountId` string, nullable — An ID of the record of the Account type.
    - `accountName` string, nullable — A foreign record name.
    - `leadId` string, nullable — An ID of the record of the Lead type.
    - `leadName` string, nullable — A foreign record name.
    - `contactId` string, nullable — An ID of the record of the Contact type.
    - `contactName` string, nullable — A foreign record name.
    - `contactsIds` string[], nullable — IDs of records of the Contact type.
    - `contactsNames` object, nullable — An {ID => record name} map.
    - `inboundEmailId` string, nullable — An ID of the record of the InboundEmail type.
    - `inboundEmailName` string, nullable — A foreign record name.
    - `originalEmailId` string, nullable
    - `originalEmailName` string, nullable — A foreign record name.
    - `isInternal` boolean
    - `createdAt` string, nullable — A timestamp in UTC.
    - `modifiedAt` string, nullable — A timestamp in UTC.
    - `createdById` string, nullable — An ID of the record of the User type.
    - `createdByName` string, nullable — A foreign record name.
    - `modifiedById` string, nullable — An ID of the record of the User type.
    - `modifiedByName` string, nullable — A foreign record name.
    - `assignedUserId` string, nullable — An ID of the record of the User type.
    - `assignedUserName` string, nullable — A foreign record name.
    - `teamsIds` string[], nullable — IDs of records of the Team type.
    - `teamsNames` object, nullable — An {ID => record name} map.
    - `streamUpdatedAt` string, nullable — A timestamp in UTC.
  - `total` number — The total number of records. If the total number is disabled, special values are returned: -1 – there are more records to paginate, -2 – there are no more records.

## Other responses

- `400` — Bad request. Check logs for details.
- `403` — Forbidden. Might be an access control error. Check logs for details.

## Changes

- **2025-12-02** `e28ba9216fac` — 11 warning, 1 info
  - deleted the `query` request parameter `attributeSelect`
  - deleted the `query` request parameter `boolFilterList`
  - deleted the `query` request parameter `maxSize`
  - deleted the `query` request parameter `offset`
  - …8 more

[Change history](https://skmtc.dev/espocrm/apis/espocrm-api/changes/Contact/:id/casesPrimary/get.md)

---

[API](https://skmtc.dev/espocrm/apis/espocrm-api.md) · [All operations](https://skmtc.dev/espocrm/apis/espocrm-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/espocrm/espocrm-api/revisions/e28ba9216fac/schema)
