> ## Documentation Index
> Fetch the complete documentation index at: https://gnosispay-feat-v2-auth-module.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Accept Terms

> Accept one or more terms types and versions



## OpenAPI

````yaml https://gp-auth-module.prod.gnosispay.com/openapi.json post /user/terms
openapi: 3.0.0
info:
  version: 1.0.0
  title: SIWE Authentication API
  description: Sign In With Ethereum authentication service
servers:
  - url: https://gp-auth-module.prod.gnosispay.com
    description: API server
security: []
paths:
  /user/terms:
    post:
      tags:
        - Terms
      summary: Accept Terms
      description: Accept one or more terms types and versions
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptTermsRequest'
      responses:
        '200':
          description: Terms accepted successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptTermsSuccess'
        '400':
          description: Invalid terms type or version
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptTerms400'
        '401':
          description: Unauthorized - Invalid or missing JWT
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: User not found or not registered
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '502':
          description: Core API error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - Bearer: []
components:
  schemas:
    AcceptTermsRequest:
      type: object
      properties:
        terms:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              version:
                type: string
            required:
              - type
              - version
          minItems: 1
      required:
        - terms
    AcceptTermsSuccess:
      type: object
      properties:
        ok:
          type: boolean
          enum:
            - true
      required:
        - ok
    AcceptTerms400:
      anyOf:
        - $ref: '#/components/schemas/ValidationError'
        - $ref: '#/components/schemas/AcceptTermsError'
    Error:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
      required:
        - success
        - error
    ValidationError:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: object
          properties:
            name:
              type: string
              enum:
                - ValidationError
            message:
              type: string
          required:
            - name
            - message
      required:
        - success
        - error
    AcceptTermsError:
      type: object
      properties:
        success:
          type: boolean
          enum:
            - false
        ok:
          type: boolean
          enum:
            - false
          deprecated: true
          description: 'Deprecated: use `success` instead.'
        errors:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
              error:
                type: string
            required:
              - type
              - error
      required:
        - success
        - ok
        - errors

````