---
title: "Retrieve"
method: GET
path: "/consents/{id}"
tags: ["Consent"]
---

# Retrieve

`GET /consents/{id}`

Recovers the consent resource by it's id

## Path parameters

- `id` string, uuid, required

## Response `200`

Retrieve a consent.

- Consent — Item consent information
  - `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

## Other responses

- `404` — Consent not found
- `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)
