> ## 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.

# Create a QuickBooks Online OAuth authorize URL

> Returns an Intuit authorize URL and CSRF `state` bound to the caller workspace. Redirect the user to `authorize_url`; after Intuit redirects back to the Range app with `code`, `realmId`, and `state`, POST /account-connections with type=quickbooks. Dispatches via LedgerConnectionAdapter.beginOAuth (same path Xero will use).



## OpenAPI

````yaml /api-reference/platform-api.json post /v2/account-connections/quickbooks/authorize-url
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.15
  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.
paths:
  /v2/account-connections/quickbooks/authorize-url:
    post:
      tags:
        - Account Connections
      summary: Create a QuickBooks Online OAuth authorize URL
      description: >-
        Returns an Intuit authorize URL and CSRF `state` bound to the caller
        workspace. Redirect the user to `authorize_url`; after Intuit redirects
        back to the Range app with `code`, `realmId`, and `state`, POST
        /account-connections with type=quickbooks. Dispatches via
        LedgerConnectionAdapter.beginOAuth (same path Xero will use).
      operationId: createQuickbooksAuthorizeUrl
      parameters: []
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  authorize_url:
                    type: string
                  state:
                    type: string
components:
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````