---
title: "As a guest sign the terms"
method: POST
path: "/ocs/v2.php/apps/terms_of_service/sign_public"
tags: ["signing"]
---

# As a guest sign the terms

`POST /ocs/v2.php/apps/terms_of_service/sign_public`

## Headers

- `OCS-APIRequest` boolean, required

## Response `200`

Signed successfully

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` unknown, required

## Other responses

- `406` — The user is already authenticated and therefore not allowed to sign the terms through this endpoint

---

[API](https://skmtc.net/nextcloud/apis/terms-of-service.md) · [All operations](https://skmtc.net/nextcloud/apis/terms-of-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nextcloud/terms-of-service/revisions/aedf0faa1ac4/schema)
