> ## Documentation Index
> Fetch the complete documentation index at: https://learn.nexudus.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get one CoworkerLegalContentAudit

> Retrieve a single CoworkerLegalContentAudit record by its Id.

A **CoworkerLegalContentAudit** records when a customer accepted a specific version of a legal document at a location. Each record captures the type of legal content accepted (e.g. general terms, privacy policy, or plan-specific terms) along with the unique version identifier that was in effect at the time of acceptance.

Use these records to demonstrate compliance and to determine exactly which version of a document a customer agreed to. For tariff-specific terms (`LegalContentType = TariffTerms`), `TariffUniqueId` identifies the pricing plan whose terms were accepted. `LegalContentAuditUniqueId` identifies the precise version of the document that was shown to and accepted by the customer.

## Authentication

<Note>
  This endpoint requires OAuth2 authentication. Include a valid bearer token in the `Authorization` header.
  The authenticated user must be a full unrestricted administrator or have the **`CoworkerLegalContentAudit-Read`** role.
</Note>

## Path Parameters

<ParamField path="id" type="integer" required>
  The Id of the CoworkerLegalContentAudit record to retrieve.
</ParamField>

## Code Examples

<CodeGroup>
  ```bash cURL theme={null}
  curl -X GET \
    "https://spaces.nexudus.com/api/sys/coworkerlegalcontentaudits/87654321" \
    -H "Authorization: Bearer YOUR_TOKEN"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch(
    'https://spaces.nexudus.com/api/sys/coworkerlegalcontentaudits/87654321',
    {
      headers: {
        'Authorization': 'Bearer YOUR_TOKEN'
      }
    }
  );

  const record = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://spaces.nexudus.com/api/sys/coworkerlegalcontentaudits/87654321',
      headers={
          'Authorization': 'Bearer YOUR_TOKEN'
      }
  )

  record = response.json()
  ```
</CodeGroup>

## Response

### 200

<ResponseField name="CoworkerId" type="integer">
  ID of the customer who accepted the legal content.
</ResponseField>

<ResponseField name="BusinessId" type="integer">
  ID of the location where the legal content was accepted.
</ResponseField>

<ResponseField name="Name" type="string">
  Name of the legal content document that was accepted.
</ResponseField>

<ResponseField name="LegalContentType" type="integer">
  Type of legal document accepted: GeneralTerms, VisitorTerms, CheckoutTerms, PrivacyPolicy, CookiesPolicy, or TariffTerms. See `eLegalContentType` enum values: `1` = GeneralTerms, `2` = VisitorTerms, `3` = CheckoutTerms, `4` = PrivacyPolicy, `5` = CookiesPolicy, `6` = TariffTerms.
</ResponseField>

<ResponseField name="TariffUniqueId" type="string">
  Unique identifier of the pricing plan whose terms were accepted; only set when LegalContentType is TariffTerms.
</ResponseField>

<ResponseField name="LegalContentAuditUniqueId" type="string">
  Unique identifier of the specific version of the legal document that was in effect and accepted by the customer at the time of acceptance.
</ResponseField>

<ResponseField name="Id" type="integer">
  Unique record identifier.
</ResponseField>

<ResponseField name="UniqueId" type="string">
  UUID of the record.
</ResponseField>

<ResponseField name="CreatedOn" type="string">
  Date and time the record was created (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedOn" type="string">
  Date and time the record was last updated (ISO 8601).
</ResponseField>

<ResponseField name="UpdatedBy" type="string">
  Email of the user who last updated this record.
</ResponseField>

<ResponseField name="IsNew" type="boolean">
  Whether the record was recently created.
</ResponseField>

<ResponseField name="SystemId" type="string">
  External system identifier.
</ResponseField>

```json Example Response theme={null}
{
  "CoworkerId": 0,
  "BusinessId": 0,
  "Name": "",
  "LegalContentType": 0,
  "TariffUniqueId": null,
  "LegalContentAuditUniqueId": null,
  "Id": 87654321,
  "UpdatedOn": "2025-01-15T10:30:00Z",
  "CreatedOn": "2025-01-10T08:00:00Z",
  "UniqueId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "UpdatedBy": "admin@example.com",
  "IsNew": false,
  "SystemId": null,
  "ToStringText": "CoworkerLegalContentAudit Example",
  "LocalizationDetails": null,
  "CustomFields": null
}
```
