# Access · Customer API

> Customer API reference for access: GET /access/{id}.

> Markdown version of https://kanorio.com/en/developers/customer-api/access. Append `.md` to any developer docs URL for this format. Index: https://kanorio.com/llms.txt · MCP: https://app.kanorio.com/api/mcp

Base URL: `https://{site}/api/v1/customer` · [Errors](https://kanorio.com/en/developers/basics/errors) · [Pagination](https://kanorio.com/en/developers/basics/pagination)

### Check access to a deliverable (id or key) or a unit (`type=unit`)

`GET /access/{id}`

- Stability: beta

**Parameters**

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | — |
| `type` | query | "deliverable" \| "unit" | no | — |

**Response** (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `granted` | boolean | yes | — |
| `reason` | "entitlement" \| "preview" \| "none" \| "not_released" \| "expired" \| "hidden" \| "prerequisite" | yes | prerequisite: blocked by the course's require-in-order rule; access.lockedByUnitId is the unit to finish first. |
| `availableAt` | string \| null | yes | — |

```bash
curl -X GET "https://{site}/api/v1/customer/access/{id}" \
  -H "Authorization: Bearer $KANORIO_CUSTOMER_TOKEN"
```
