---
title: "Get a person's consent history"
method: GET
path: "/v1/persons/{personId}/dataConsent/history"
tags: ["Persons"]
---

# Get a person's consent history

`GET /v1/persons/{personId}/dataConsent/history`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/persons/{personId}/dataConsent/history`
- Auth: HTTP bearer

Gets a paged collection of events indicating when a person granted/denied consent to have their personal data stored (required scope contacts:persons:read)

## Path parameters

- `personId` string, uuid, required

## Query parameters

- `direction` 'ascending' | 'descending': Represents the direction in which sorting should be applied<p>Possible values:</p><ul><li><b>ascending</b>: Indicates ascending sorting order</li><li><b>descending</b>: Indicates descending sorting order</li></ul>
- `sortBy` 'createdAt': Sort options for Person Consent<p>Possible values:</p><ul><li><b>createdAt</b>: Sort by Creation Date</li></ul>
- `pageNumber` integer
- `pageSize` integer

## Headers

- `Customer-Id` integer, required

## Response `200`

OK

- PagedResponseReadPersonConsentModel: A paged collection of items
  - `items` ReadPersonConsentModel[]: The items returned for the requested page
    - `id` integer: The unique identifier of the consent preference
    - `createdAt` string, date-time: The UTC timestamp of when this preference was captured
    - `status` 'awaiting' | 'refused' | 'granted': The consent preference indicated by the person<p>Possible values:</p><ul><li><b>awaiting</b>: Awaiting</li><li><b>refused</b>: Refused</li><li><b>granted</b>: Granted</li></ul>
    - `medium` 'email' | 'click' | 'telephone': The medium that a person has expressed their consent using<p>Possible values:</p><ul><li><b>email</b>: Email</li><li><b>click</b>: Click</li><li><b>telephone</b>: Telephone</li></ul>
    - `comment` string: Descriptive text about how and/or why the person has made this consent decision
  - `pageNumber` integer: The page number of the response where 1 is the first page
  - `pageSize` integer: The number of items requested for the current page
  - `pageItemCount` integer: The number of items returned in the current page

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
