---
title: "Accept terms"
method: POST
path: "/auth/me/terms/{id}/accept"
tags: ["terms"]
---

# Accept terms

`POST /auth/me/terms/{id}/accept`

## Request

- Base URL: `https://api.instruxi.dev/api/v1/enforcer`
- URL: `https://api.instruxi.dev/api/v1/enforcer/auth/me/terms/{id}/accept`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

Records the caller's consent to one document by id, snapshotting its content hash, version, IP and user-agent at accept time — so a later edit to the document's content never retroactively changes what the caller is considered to have agreed to. Idempotent: re-accepting an already-accepted id is a no-op, not a duplicate row or an error.

## Path parameters

- `id` string, required

## Response `200`

OK

- InternalDeliveryHttpHandlerOKResponse
  - `success` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found

---

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