---
title: "Get currently published legal documents"
method: GET
path: "/legal/documents/current"
tags: ["Legal"]
---

# Get currently published legal documents

`GET /legal/documents/current`

## Request

- Base URL: `http://localhost:8486`
- URL: `http://localhost:8486/legal/documents/current`
- Auth: API key in header `x-auth-token`

Returns the latest Terms and Conditions and Privacy Policy including immutable markdown content and SHA-256 hashes.

## Response `200`

Current documents

- CurrentLegalDocumentsDTO
  - `termsAndConditions` LegalDocumentVersionDTO
    - `id` integer
    - `documentType` 'TERMS_AND_CONDITIONS' | 'PRIVACY_POLICY'
    - `documentVersion` string
    - `documentHash` string
    - `content` string
    - `publishedAt` string, date-time
    - `publishedByUserId` integer
    - `publishedByDisplayName` string
  - `privacyPolicy` LegalDocumentVersionDTO
    - `id` integer
    - `documentType` 'TERMS_AND_CONDITIONS' | 'PRIVACY_POLICY'
    - `documentVersion` string
    - `documentHash` string
    - `content` string
    - `publishedAt` string, date-time
    - `publishedByUserId` integer
    - `publishedByDisplayName` string

---

[API](https://skmtc.dev/airdodge/apis/api-core.md) - [All operations](https://skmtc.dev/airdodge/apis/api-core/llms.txt) - [OpenAPI document](https://skmtc.dev/airdodge/apis/api-core/revisions/fb3c5a1055cc?raw)
