---
title: "List"
method: GET
path: "/consents"
tags: ["Consent"]
---

# List

`GET /consents`

Recovers all consents given to the item provided

## Query parameters

- `itemId` string, uuid, required

## Response `200`

Retrieve a list of all consents given to an item

- PageResponseConsents
  - `results` Consent[], required
    - `id` string, required — Consent primary identifier
    - `itemId` string, required — Primary identifier of the item associated to the consent
    - `products` string[], required — Products to be collected in the connection
    - `openFinancePermissionsGranted` string[] — Products consented by the user to be collected
    - `createdAt` string, date-time, required — Date when the consent was given
    - `expiresAt` string, date-time — Date when the consent expires. Null if the consent doesn't expire
    - `revokedAt` string, date-time — Date when the consent was revoked
  - `page` number, double, required
  - `total` number, double, required
  - `totalPages` number, double, required

## Other responses

- `400` — Missing parameter
- `500` — Server Internal Error

---

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