---
title: "List consents"
method: GET
path: "/api/cis/v1/identities/{id}/consents"
tags: ["Consents"]
---

# List consents

`GET /api/cis/v1/identities/{id}/consents`

## Request

- Base URL: `https://stalela-platform.vercel.app`
- URL: `https://stalela-platform.vercel.app/api/cis/v1/identities/{id}/consents`
- Auth: HTTP bearer and API key in header `x-tenant-id`

## Path parameters

- `id` string, uuid, required

## Query parameters

- `status` 'GRANTED' | 'WITHDRAWN'

## Headers

- `x-tenant-id` string, required

## Response `200`

Consent list

- Consent[]
  - `id` string, uuid
  - `identityId` string, uuid
  - `scope` string
  - `policyId` string, nullable
  - `version` integer
  - `status` 'GRANTED' | 'WITHDRAWN'
  - `proof` object, nullable
  - `grantedAt` string, date-time
  - `withdrawnAt` string, date-time, nullable

---

[API](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api.md) - [All operations](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/llms.txt) - [OpenAPI document](https://skmtc.dev/stalela/apis/stalela-cis-customer-identity-service-api/revisions/3065faad0b6b?raw)
