# List product access

`GET https://api.cademi.com.br/api/v3/users/{user_id}/products`

Operation ID: `users.products.list` · API v3

Returns the user's effective access to each product, using cursor-based pagination and sorted by product ID.

If the current credentials are restricted to specific products, only those products are included.

Required permissions: `enrollments.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `user_id` | path | string | yes |  |
| `limit` | query | integer | no |  |
| `cursor` | query | string | no |  |
| `sort` | query | string, one of `product_id`, `-product_id` | no |  |

## Responses

### 200

Returns a page of the user's effective product access.

Body: `data`: array of ProductAccess.

Fields of ProductAccess:

| Field | Type | Required | Description |
|---|---|---|---|
| `denial_reason` | string or null, one of `no_access`, `hidden`, `opens_soon`, `opens_at`, `ended_at`, `exam_required`, `content_in_edit`, `insufficient_progress` | yes |  |
| `ends_at` | string or null (date-time) | yes |  |
| `has_access` | boolean | yes |  |
| `object` | string, one of `product_access` | yes |  |
| `overrides` | object | yes |  |
| `product_id` | string | yes |  |
| `revision` | string or null | yes |  |
| `sources` | array of object | yes |  |
| `starts_at` | string or null (date-time) | yes |  |
| `user_id` | string | yes |  |

### 400

The cursor is invalid or the request contains an unsupported query parameter.

Body: Error.

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The user was not found or is not accessible with the current credentials.

Body: Error.

### 422

The request body or query parameters failed validation.

Body: ValidationFailed.

Full schema: https://cademi.dev/openapi/v3.json
