> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getpara.com/llms.txt
> Use this file to discover all available pages before exploring further.

# listUserPolicyConsents

> Lists the consent requests for one of a user's wallets, with the consent status of each.

## Import

Call this method on a server-side ParaRestClient created with your server secret key.

```ts theme={null}
import { ParaRestClient } from "@getpara/rest-sdk";
```

async

Lists the consent requests for one of a user's wallets, with the consent status of each.

Copy method signature

### Returns

[`Promise<PermissionsV2DelegationConsentDiscoveryResponse>`](/v3/references/types/permissions#permissionsv2delegationconsentdiscoveryresponse)

Each Request policy paired with the wallet's consent state.

## Route

Your backend can read consent but cannot grant it. The wallet owner consents in Portal. When Permissions is not set up for your app, `requests` is empty.

```text theme={null}
GET /v1/permissions-v2/users/{userId}/delegation-consents?walletId=...&pendingTransactionId=...
```

## Example

Read the policy and consent pair for each entry in `requests`.

```ts theme={null}
const { requests } = await para.listUserPolicyConsents(userId, { walletId });
```

## Errors

A non-success response throws `ParaRestError` with the HTTP `status`, the error `code` and a `message`. [Permissions errors](/v3/references/permissions/errors) lists every error code.

An empty path argument throws `ParaRestValidationError` before the request is sent.

| Status | Code | When |
| - | - | - |
| 400 | `INVALID_REQUEST` | `userId` or `walletId` is not a UUID. |
| 403 | `FORBIDDEN` | The wallet has no connection to your app. |
| 404 | `NOT_FOUND` | `pendingTransactionId` does not match an unsigned pending transaction for this user and wallet. |
| 409 | `CONFLICT` | The pending transaction's review is no longer pending, has expired, or does not match the transaction. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.