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

# Accept a market's trading agreement

> Accept the one-time agreement Bybit requires before it takes any order on a traditional-asset market; it cannot be asked whether one is already accepted, so calling this again is a no-op.



## OpenAPI

````yaml https://vooi-api-app.fly.dev/swagger/json post /exchange/bybit/agreement
openapi: 3.1.0
info:
  title: VOOI API
  description: Unified perps API
  version: '1.0'
  contact: {}
servers:
  - url: https://perps-api.vooi.io
security: []
tags: []
paths:
  /exchange/bybit/agreement:
    post:
      tags:
        - Exchange / Bybit
      summary: Accept a market's trading agreement
      description: >-
        Accept the one-time agreement Bybit requires before it takes any order
        on a traditional-asset market; it cannot be asked whether one is already
        accepted, so calling this again is a no-op.
      operationId: BybitController_signAgreement
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SignBybitAgreementBodyDto'
      responses:
        '400':
          description: >-
            Either `asset` matches more than one Bybit market and needs its full
            pair name, or the key cannot sign — Bybit takes a signature only
            from a master-account key carrying Account Transfer, Subaccount
            Transfer or Withdrawal permission, none of which connecting a Bybit
            key asks for.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDTO'
        '404':
          description: >-
            Bybit is not connected for this user, or `asset` matches no Bybit
            market.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDTO'
        '503':
          description: >-
            Bybit refused the signature. Orders on the market keep failing with
            ret code 110123, 110125 or 110126 until it is accepted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponseDTO'
      security:
        - bearer: []
components:
  schemas:
    SignBybitAgreementBodyDto:
      type: object
      properties:
        asset:
          type: string
          minLength: 1
          description: >-
            The Bybit market whose agreement you are accepting; stocks, ETFs and
            metals share one agreement, crude oil has the other.
          example: CLUSDT
      required:
        - asset
      title: SignBybitAgreement
    ErrorResponseDTO:
      type: object
      properties:
        message:
          type: string
          example: 'Invalid order id: 123'
        statusCode:
          example: 503
          type: number
      required:
        - message
      title: ErrorResponse
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.