---
title: "Get Early Access Codes"
method: GET
path: "/early-access-codes"
---

# Get Early Access Codes

`GET /early-access-codes`

## Request

- Base URL: `https://api.iliad.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.iliad.ai/early-access-codes`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

The user's two personal give-to-a-friend codes, minted on first request.

Only users who themselves have early access get codes, which is why the
gate lives here rather than at redemption: codes cannot exist for anyone
else.

## Response `200`

Successful Response

- GetEarlyAccessCodesResponse
  - `codes` UserEarlyAccessCode[], required
    - `code` string, required
    - `used` boolean, required
    - `used_by_email` string, nullable, required

---

[API](https://skmtc.dev/iliad/apis/iliad-api.md) - [All operations](https://skmtc.dev/iliad/apis/iliad-api/llms.txt) - [OpenAPI document](https://skmtc.dev/iliad/apis/iliad-api/revisions/a7c619f2643a?raw)
