---
title: "Get Consent Records"
method: GET
path: "/v1/compliance/consent/{claim_id}"
tags: ["compliance"]
---

# Get Consent Records

`GET /v1/compliance/consent/{claim_id}`

## Request

- Base URL: `https://api.claims.zicron.ai`
- URL: `https://api.claims.zicron.ai/v1/compliance/consent/{claim_id}`
- Auth: none declared

Get consent records for a claim: the ``consent_records`` rows (HIPAA, representation, ...) and the
claimant's contact consent per channel (``communication_consents``, the TCPA check's source).

Tenancy is enforced by RLS on ``consent_records`` (migration 084): a caller
only ever sees rows of its own org, so another org's claim reads as empty.

## Path parameters

- `claim_id` string, required

## Response `200`

Successful Response

- ConsentListResponse
  - `claim_id` string, required
  - `records` ConsentRecord[], required
    - `id` string, required
    - `claim_id` string, required
    - `consent_type` string, required
    - `granted` boolean
    - `granted_by` string, nullable
    - `granted_at` string, required
    - `expires_at` string, nullable
    - `revoked_at` string, nullable
    - `scope` string, nullable
    - `metadata` object
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zicron/apis/zicron-api.md) · [All operations](https://skmtc.dev/zicron/apis/zicron-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zicron/apis/zicron-api/revisions/abe62e22aa46?raw)
