# List the access entries of a student from a sale

`GET https://{domain}/api/v2/user/{identifier}/access/by_external_id/{external_id}`

Operation ID: `users.access.list_by_external_id` · API v2

Lists the access entries of a student that came from a sale or subscription ID at the gateway.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `identifier` | path | string | yes | The student: id:<ID>, email:<email> or doc:<document>. A plain value also works: a valid email is looked up by email, anything else by ID or document. |
| `external_id` | path | string | yes | Sale ID or subscription ID at the gateway. |

## Responses

### 200

The access entries.

Body: object.

### 401

The Authorization header is missing, or the key does not exist or was deleted.

Body: HandlerError.

### 409

data.data is User not found.

Body: `data`: object.

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