---
title: "Claim the earned trial extension the daily sweep offered"
method: POST
path: "/api/first-run/extension/claim"
tags: ["First run"]
---

# Claim the earned trial extension the daily sweep offered

`POST /api/first-run/extension/claim`

## Request

- Base URL: `https://api.setluca.com`
- URL: `https://api.setluca.com/api/first-run/extension/claim`
- Auth: API key in cookie `luca.session_token`

Grants the extra trial days the coach earned, on their own action instead of automatically. You'll get a 409 when there's no offer, when the actions gating it are unfinished, or when this trial was already extended. The usage-earned offer also applies a discount coupon when one is configured. A missing coupon costs the discount, not the days.

**Session-only.** This endpoint isn't on the API-key allowlist. An organization API key gets a 403 here, whatever scopes it holds.

## Headers

- `Luca-API-Version` '1'

## Response `200`

ok

- TrialExtensionClaimResponse
  - `ok` true, required
  - `reason` 'low_usage' | 'high_usage', required
  - `extraDays` integer, required
  - `newTrialEndsAt` string, required
  - `discountApplied` boolean, required

## Other responses

- `401`: unauthorized
- `409`: conflict
- `429`: rate limited
- `500`: internal error
- `503`: service unavailable

---

[API](https://skmtc.dev/setluca/apis/luca-api.md) · [All operations](https://skmtc.dev/setluca/apis/luca-api/llms.txt) · [OpenAPI document](https://skmtc.dev/setluca/apis/luca-api/revisions/90a200e4100b?raw)
