Skip to main content
GET
/
api
/
sys
/
coworkerlegalcontentaudits
/
{id}
Get one CoworkerLegalContentAudit
curl --request GET \
  --url https://spaces.nexudus.com/api/sys/coworkerlegalcontentaudits/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "CoworkerId": 123,
  "BusinessId": 123,
  "Name": "<string>",
  "LegalContentType": 123,
  "TariffUniqueId": "<string>",
  "LegalContentAuditUniqueId": "<string>",
  "Id": 123,
  "UniqueId": "<string>",
  "CreatedOn": "<string>",
  "UpdatedOn": "<string>",
  "UpdatedBy": "<string>",
  "IsNew": true,
  "SystemId": "<string>"
}
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

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.

Path Parameters

id
integer
required
The Id of the CoworkerLegalContentAudit record to retrieve.

Code Examples

curl -X GET \
  "https://spaces.nexudus.com/api/sys/coworkerlegalcontentaudits/87654321" \
  -H "Authorization: Bearer YOUR_TOKEN"

Response

200

CoworkerId
integer
ID of the customer who accepted the legal content.
BusinessId
integer
ID of the location where the legal content was accepted.
Name
string
Name of the legal content document that was accepted.
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.
TariffUniqueId
string
Unique identifier of the pricing plan whose terms were accepted; only set when LegalContentType is TariffTerms.
Unique identifier of the specific version of the legal document that was in effect and accepted by the customer at the time of acceptance.
Id
integer
Unique record identifier.
UniqueId
string
UUID of the record.
CreatedOn
string
Date and time the record was created (ISO 8601).
UpdatedOn
string
Date and time the record was last updated (ISO 8601).
UpdatedBy
string
Email of the user who last updated this record.
IsNew
boolean
Whether the record was recently created.
SystemId
string
External system identifier.
Example Response
{
  "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
}