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

# Accept Prop Trader Consents

> Records a prop trader's acceptance of the trader agreement and data consent on their own seat, with request origin.

Not available to API keys.

## OpenAPI

````yaml api-reference/openapi.json POST /hris/accept-prop-trader-consents
openapi: 3.1.0
info:
  title: Toku API
  version: 1.0.0
servers:
  - url: https://api.toku.com
security:
  - bearerAuth: []
paths:
  /hris/accept-prop-trader-consents:
    post:
      operationId: acceptPropTraderConsents
      summary: Accept Prop Trader Consents
      description: >-
        Records a prop trader's acceptance of the trader agreement and data
        consent on their own seat, with request origin.


        Not available to API keys.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptPropTraderConsentsRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptPropTraderConsentsResponse'
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not found
        '409':
          description: Conflict
        '429':
          description: Response 429
components:
  schemas:
    AcceptPropTraderConsentsRequest:
      type: object
      properties:
        roleInOrgId:
          type: string
          format: uuid
        traderAgreementDocument:
          description: >-
            NOTE(ck): the literal is computed at runtime
            (JSON.stringify(PROP_TRADER_TERMS)); TGA still enforces the exact
            value
        dataConsentDocument:
          description: >-
            NOTE(ck): the literal is computed at runtime
            (JSON.stringify(PROP_TRADER_DATA_CONSENT)); TGA still enforces the
            exact value
        agreeToTraderAgreement:
          const: true
        agreeToDataConsent:
          const: true
      required:
        - roleInOrgId
        - traderAgreementDocument
        - dataConsentDocument
        - agreeToTraderAgreement
        - agreeToDataConsent
    AcceptPropTraderConsentsResponse:
      type: object
      properties:
        success:
          const: true
        acceptedVersions:
          type: array
          items:
            type: string
      required:
        - success
        - acceptedVersions
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
````
