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

# Get clickwrap event details

> Retrieve full metadata for a specific clickwrap event after it has
been verified. Use it to audit the clickwrap lifecycle, cross-check
template versions, or drive downstream workflows.

**Authenticated** — requires `X-APP-ID` and `X-APP-KEY` headers.




## OpenAPI

````yaml /openapi/clickterm-public-api.yaml get /clickwrap-events/{id}/details
openapi: 3.0.3
info:
  title: ClickTerm Public Client API
  version: '1.0'
  description: |
    The ClickTerm Public Client API lets you integrate legally-binding
    consent management into your application. Use it alongside the
    ClickTerm Web SDK or Android SDK.

    **Authentication:** Most endpoints require `X-APP-ID` and `X-APP-KEY`
    headers. The exceptions are `GET /clickwrap` and `POST /clickwrap`,
    which use the public `appId` in query/body parameters and do not
    require the App Key.
  contact:
    name: ClickTerm Support
    url: https://clickterm.com
    email: support@clickterm.com
servers:
  - url: https://api.clickterm.com/public-client/v1
    description: Production
security: []
tags:
  - name: Clickwrap
    description: >-
      Core clickwrap operations — fetch templates, record acceptance, verify
      Signatures
  - name: Events
    description: Clickwrap event details, certificates, and consent status
  - name: Templates
    description: Template discovery and metadata
paths:
  /clickwrap-events/{id}/details:
    get:
      tags:
        - Events
      summary: Get clickwrap event details
      description: |
        Retrieve full metadata for a specific clickwrap event after it has
        been verified. Use it to audit the clickwrap lifecycle, cross-check
        template versions, or drive downstream workflows.

        **Authenticated** — requires `X-APP-ID` and `X-APP-KEY` headers.
      operationId: getEventDetails
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Clickwrap Event ID
          example: 123e4567-e89b-12d3-a456-426614174000
      responses:
        '200':
          description: Event details retrieved
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ClickwrapEventResponseDto'
              example:
                clickwrapEventStatus: ACCEPTED
                clickwrapEventId: 123e4567-e89b-12d3-a456-426614174000
                clickwrapTemplateId: 987e6543-e21b-45d3-b321-426614174999
                clickwrapTemplateVersion: 1
                clickwrapTemplateVersionMinor: 0
                endUserId: 423e4567-e89b-12d3-a456-426614174000
                templatePlaceholders: '{ "email": "user@example.com", "phone": "+12345678900" }'
                technicalMetadata: >-
                  {"userAgent":"okhttp/4.8.1","ip":"a100:a100:a100:a100:a100:a100:a100:a100"}
                presentedAt: '2025-08-20T14:25:00Z'
                actionAt: '2025-08-20T14:30:00Z'
                effectiveAt: '2025-08-20T14:00:00Z'
        '404':
          description: Event not found
      security:
        - appIdHeader: []
          appKeyHeader: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: |
            curl -X GET \
              -H "X-APP-ID: YOUR_APP_ID" \
              -H "X-APP-KEY: YOUR_APP_KEY" \
              "https://api.clickterm.com/public-client/v1/clickwrap-events/{clickwrapEventId}/details"
        - lang: javascript
          label: Node.js
          source: |
            const response = await fetch(
              `https://api.clickterm.com/public-client/v1/clickwrap-events/${eventId}/details`,
              {
                headers: {
                  "X-APP-ID": process.env.CLICKTERM_APP_ID,
                  "X-APP-KEY": process.env.CLICKTERM_APP_KEY,
                },
              }
            );
            const details = await response.json();
        - lang: python
          label: Python
          source: |
            response = requests.get(
                f"https://api.clickterm.com/public-client/v1/clickwrap-events/{event_id}/details",
                headers={
                    "X-APP-ID": CLICKTERM_APP_ID,
                    "X-APP-KEY": CLICKTERM_APP_KEY,
                },
            )
            details = response.json()
        - lang: java
          label: Java
          source: |
            HttpResponse<String> response = Unirest.get(
                "https://api.clickterm.com/public-client/v1/clickwrap-events/" + clickwrapEventId + "/details")
              .header("X-APP-ID", "YOUR_APP_ID")
              .header("X-APP-KEY", "YOUR_APP_KEY")
              .asString();
components:
  schemas:
    ClickwrapEventResponseDto:
      type: object
      description: Full details of a verified clickwrap event
      properties:
        clickwrapEventStatus:
          type: string
          enum:
            - ACCEPTED
            - DECLINED
          description: The verified status of the clickwrap event
        clickwrapEventId:
          type: string
          format: uuid
          description: Unique identifier for this Clickwrap Event
        clickwrapTemplateId:
          type: string
          format: uuid
          description: The clickwrap template shown to the end user
        clickwrapTemplateVersion:
          type: integer
          description: Major version number of the template used for this event
        clickwrapTemplateVersionMinor:
          type: integer
          description: Minor version number of the template used for this event
        endUserId:
          type: string
          description: The end user identifier linked to this event
        templatePlaceholders:
          type: string
          nullable: true
          description: JSON-encoded placeholder values used in the template, or null
        technicalMetadata:
          type: string
          description: JSON-encoded client metadata (IP address, user agent, device info)
        presentedAt:
          type: string
          format: date-time
          description: When the clickwrap was presented to the end user (UTC, ISO-8601)
        actionAt:
          type: string
          format: date-time
          description: When the end user performed the action (UTC, ISO-8601)
        effectiveAt:
          type: string
          format: date-time
          description: When the template version became effective (UTC, ISO-8601)
  securitySchemes:
    appIdHeader:
      type: apiKey
      in: header
      name: X-APP-ID
      description: |
        Your application's App ID, sent as the `X-APP-ID` header.
        Must be accompanied by `X-APP-KEY` for authenticated endpoints.
    appKeyHeader:
      type: apiKey
      in: header
      name: X-APP-KEY
      description: Your application's secret App Key (server-side only)

````