---
title: "Attach Quickbooks"
method: POST
path: "/api/py/instance-sources/quickbooks"
tags: ["instance-sources"]
---

# Attach Quickbooks

`POST /api/py/instance-sources/quickbooks`

## Request

- Base URL: `https://api.getauctor.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getauctor.com/api/py/instance-sources/quickbooks`
- Auth: none declared

## Request body

- QuickbooksApplicationAttachBody
  - `source_type` 'quickbooks_application', required
  - `instance_id` string, uuid, required
  - `realm_id` string, required
  - `environment` 'sandbox' | 'production'
  - `payload` QuickbooksOAuthRefreshTokenInput, required
    - `kind` 'oauth_refresh_token'
    - `client_id` string, required
    - `client_secret` string, required
    - `refresh_token` string, required

## Response `200`

Successful Response

- AttachedSourceResponse
  - `id` string, uuid, required
  - `source_type` string, required
  - `delivery_instance_id` string, uuid, required
  - `organization_id` string, required
  - `credential_kind` string, required
  - `external_instance_url` string, nullable
  - `external_org_id` string, nullable
  - `external_my_domain_url` string, nullable
  - `external_account_id` string, nullable
  - `external_account_url` string, nullable
  - `environment` string, nullable, required
  - `status` string, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `409`: Conflict
- `422`: Validation Error

## Changes

- **2026-10-01** `80a29df13724`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/getauctor/apis/getauctor-api/changes/api/py/instance-sources/quickbooks/post.md)

---

[API](https://skmtc.dev/getauctor/apis/getauctor-api.md) - [All operations](https://skmtc.dev/getauctor/apis/getauctor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getauctor/apis/getauctor-api/revisions/be39c59c13f6?raw)
