---
title: "Accept the terms as they stand now"
method: POST
path: "/api/v1/terms/accept"
tags: ["Account"]
---

# Accept the terms as they stand now

`POST /api/v1/terms/accept`

## Request

- Base URL: `http://localhost:5180`
- URL: `http://localhost:5180/api/v1/terms/accept`
- Auth: API key in cookie `better-auth.session_token`

Records that this account accepted the published version, from inside the product. The row it writes says so, and never reads as an acceptance taken at sign-up. Accepting a version that is already current writes another row rather than refusing: a repeated acceptance is still an acceptance.

## Response `200`

Accepted; `current` is now true.

- object
  - `ok` unknown, required
  - `data` object, required
    - `version` string, required: The version of the terms published now, as the effective date at the top of the document.
    - `accepted` string, nullable, required: The version this account last accepted on screen, or null if it never did.
    - `current` boolean, required: Whether `accepted` is `version`. False is what the product shows a notice for.
  - `meta` object, required
    - `requestId` string, required: Echoed in the x-request-id header. Quote it in a bug report.

## Other responses

- `401`: No session.

---

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