Whether the user has accepted the current active version
clickwrap_version_id
integer
Internal identifier of the active version checked against
version_number
integer
Sequential version number of the active version
Error Responses
401 Unauthorized
Returned when authentication fails. See the authentication errors section for details.
{ "detail": "Invalid API key"}
404 Not Found
Returned when no active clickwrap exists for the given slug.
{ "detail": "Clickwrap 'privacy-policy' not found"}
500 Internal Server Error
Returned when the request fails due to a server error.
{ "detail": "Internal server error"}
Notes
accepted: true means the user has accepted the currently active version specifically. If the clickwrap was updated since the user last accepted, accepted will be false even though the user accepted a previous version.
Use the version_number in the response to detect when a user accepted an older version and needs to re-accept the latest terms.
Use Cases
This endpoint is useful for:
Access gating - Block a user from proceeding until they have accepted the current terms
Re-consent checks - Determine on login or feature access whether the user’s acceptance is still current
Audit queries - Programmatically verify acceptance status before performing a regulated action
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.