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 Body

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Error Responses

401 Unauthorized

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

404 Not Found

Returned when no active clickwrap or active version exists for the given slug.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

Capture always targets the currently active version. You cannot capture an event against an older or draft version via this endpoint.
Because this is a service-to-service endpoint, the API caller’s IP address and user agent are never used as the end user’s origin data. Always pass the actual end user’s ip_address and user_agent in the request body for legally valid acceptance records.
Use event_type: "accepted" to record the user’s explicit consent. Other event types (viewed, checked, scrolled_to_bottom) can be used to capture engagement signals for your own audit trail.

Use Cases

This endpoint is useful for:
  • Server-side consent capture - Record acceptance from a backend flow where the clickwrap was rendered in your own UI
  • Audit trails - Store ip_address, user_agent, and metadata (e.g. session ID, product context) for compliance records
  • Multi-step flows - Record intermediate events (viewed, scrolled_to_bottom) before the final accepted event