---
title: "Accept Week"
method: POST
path: "/api/plan/week/accept"
tags: ["plan"]
---

# Accept Week

`POST /api/plan/week/accept`

Write the periods the learner said yes to.

Everything is re-validated here rather than trusted from the proposal: the
client could have been anywhere in between, and an activity key that is not
in the catalogue would become an unnamed event in somebody's calendar.

## Headers

- `authorization` string, nullable

## Request body

- AcceptRequest
  - `periods` AcceptPeriod[]
    - `start` string, required
    - `minutes` integer, required
    - `activity` string, required
    - `path` string, nullable
    - `why_key` string, nullable
    - `why_params` object, nullable
    - `ref` string, nullable
  - `replace` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

> 21 revisions in range; 1 not diffed.

- **2026-09-21** `13996d792e23` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/changes/api/plan/week/accept/post.md)

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/revisions/13996d792e23?raw)
