Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Version Object Fields

Error Responses

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when no active clickwrap exists for the given slug.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

Draft versions are never included in this response. Only versions that have been published (activated) are returned.
Use archived_at to distinguish the currently active version (where archived_at is null) from older superseded versions.

Use Cases

This endpoint is useful for:
  • Compliance auditing - Retrieve the exact text a user accepted at a given clickwrap_version_id
  • Re-consent detection - Compare the user’s last accepted version_number against the full history to determine if they need to re-accept
  • Change logging - Display a changelog of terms updates to end users