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

# Accept Legal Document

> Record user acceptance of a legal document. Supported types are `crossmint-privacy-policy` and `crossmint-terms-of-service`. The latest version of the document is always recorded. When accepting `crossmint-terms-of-service`, the `region` field is required so the correct regional agreement is resolved.

**API scope required**: `users.create`



## OpenAPI

````yaml api-reference/_open-api/Users.json PUT /2025-06-09/users/{userLocator}/legal-documents
openapi: 3.1.0
info:
  contact:
    email: support@crossmint.com
    name: Crossmint Support
    url: https://www.crossmint.com
  description: Crossmint Users API
  title: Crossmint Users API
  version: 1.0.0
servers:
  - description: Staging environment (testnets)
    url: https://staging.crossmint.com/api
  - description: Production environment (mainnets)
    url: https://www.crossmint.com/api
security: []
tags: []
paths:
  /2025-06-09/users/{userLocator}/legal-documents:
    put:
      tags:
        - Users
      summary: Accept Legal Document
      description: >-
        Record user acceptance of a legal document. Supported types are
        `crossmint-privacy-policy` and `crossmint-terms-of-service`. The latest
        version of the document is always recorded. When accepting
        `crossmint-terms-of-service`, the `region` field is required so the
        correct regional agreement is resolved.


        **API scope required**: `users.create`
      operationId: users.acceptLegalDocument
      parameters:
        - description: |-
            A user locator can be of the format:
            - `email:<email>`
            - `userId:<userId>`
            - `phoneNumber:<phoneNumber>`
            - `twitter:<handle>`
            - `x:<handle>`
          in: path
          name: userLocator
          required: true
          schema:
            examples:
              - email:user@example.com
              - userId:507f1f77bcf86cd799439011
              - userId:did:example:cm4lr5piw0h6t1bjho0onryql
              - phoneNumber:+12125551234
              - twitter:johndoe
              - x:@johndoe
            type: string
      requestBody:
        content:
          application/json:
            examples:
              Privacy Policy:
                description: Record that the user accepted the Crossmint Privacy Policy.
                summary: Privacy Policy
                value:
                  acceptedAt: '2025-10-05T14:48:00Z'
                  type: crossmint-privacy-policy
              Terms of Service:
                description: >-
                  Record that the user accepted the Crossmint Terms of Service.
                  Terms of Service need a `region`.
                summary: Terms of Service
                value:
                  acceptedAt: '2025-10-05T14:48:00Z'
                  region: worldwide
                  type: crossmint-terms-of-service
            schema:
              $ref: '#/components/schemas/AcceptLegalDocumentRequestDto'
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptLegalDocumentResponseDto'
          description: Legal document acceptance recorded
      security:
        - apiKey: []
components:
  schemas:
    AcceptLegalDocumentRequestDto:
      properties:
        acceptedAt:
          description: ISO 8601 in UTC. Fractional seconds are optional.
          example: '2024-01-15T10:30:00.000Z'
          format: date-time
          type: string
        region:
          description: >-
            Region the user is operating in. **Required when `type` is
            `crossmint-terms-of-service`** and determines which regional Terms
            of Service document is accepted. Ignored for
            `crossmint-privacy-policy`.
          enum:
            - eu
            - us
            - worldwide
          type: string
        type:
          description: The legal document the user is accepting.
          enum:
            - crossmint-privacy-policy
            - crossmint-terms-of-service
          type: string
      required:
        - acceptedAt
        - type
      type: object
    AcceptLegalDocumentResponseDto:
      properties:
        acceptedAt:
          description: ISO 8601 in UTC. Fractional seconds are optional.
          example: '2024-01-15T10:30:00.000Z'
          format: date-time
          type: string
      required:
        - acceptedAt
      type: object
  securitySchemes:
    apiKey:
      description: API key required for authentication
      in: header
      name: X-API-KEY
      type: apiKey

````