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

# Complete Cubist TOTP login

> Submit a one-time authentication code for a Cubist login session.



## OpenAPI

````yaml api-reference/platform-api.json post /v2/account-connections/cubist/login/{loginId}/mfa/totp
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.37
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
  - name: Parties
    description: >-
      The workspace entity register: the firm itself, its clients, and its
      counterparties.
paths:
  /v2/account-connections/cubist/login/{loginId}/mfa/totp:
    post:
      tags:
        - Account Connections
      summary: Complete cubist login with TOTP code
      operationId: completeTotp
      parameters:
        - name: loginId
          required: true
          in: path
          description: Resource identifier.
          schema:
            type: string
            example: 550e8400-e29b-41d4-a716-446655440000
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CubistLoginTotpDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CubistLoginStatusResponseDto'
components:
  schemas:
    CubistLoginTotpDto:
      type: object
      properties:
        code:
          type: string
          minLength: 6
          maxLength: 8
          example: '482913'
      required:
        - code
    CubistLoginStatusResponseDto:
      type: object
      properties:
        status:
          type: string
          enum:
            - mfa_required
            - complete
            - expired
        login_id:
          type: string
        mfa_types:
          description: MFA types required (e.g. Totp, Fido)
          type: array
          items:
            type: string
        expiration:
          type: number
          description: >-
            CubeSigner session expiration (unix seconds). Present when status is
            complete. Use login_id with POST /v2/account-connections — the
            refresh token is never returned.
      required:
        - status
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````

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