# GET /api/v1/businesses/{business_id}

> Get business

- **Tag:** businesses
- **Operation ID:** `get_business_api_v1_businesses__business_id__get`

## Description

Retrieve full business details including integrations and settings.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Parameters

- `business_id` (path, string, required)

## Responses

### 200 — Successful Response

Schema: `BusinessResponse`

- `id` (string) — Business UUID.
- `firm_id` (string) — Advisory firm UUID this business belongs to.
- `mailbox` (string) — Email prefix for bill forwarding.
- `name` (string) — Business name.
- `logo_url` (string) — URL to business logo/avatar image.
- `default_currency` (string) — Default currency for the business (USD, CAD, AUD, EUR, or GBP).
- `tax_year_end_month` (integer) — Month when the tax/fiscal year ends (1-12). 12 = calendar year.
- `tax_year_display` (string) — Human-readable tax year description (e.g., 'Calendar Year (Jan-Dec)').
- `created_at` (string · date-time) — Creation timestamp.
- `updated_at` (string · date-time) — Last update timestamp.
- `teal_instance_id` (string) — Teal instance ID (API format).
- `teal_instance` (string) — Teal database ID.
- `entries_start` (string · date-time) — Start date for transaction imports.
- `stripe_account_id` (string) — Connected Stripe account ID.
- `stripe_subscription_id` (string) — Stripe subscription ID.
- `stripe_customer_id` (string) — Stripe customer ID.
- `subscription_items` (object) — Stripe subscription items/products linked to this business.
- `shopify_shop_domain` (string) — Connected Shopify domain.
- `shopify_access_token_id` (string) — Shopify token UUID.
- `ramp_connection_id` (string) — Ramp connection UUID.
- `square_connection_id` (string) — Square connection UUID.
- `finch_connection_id` (string) — Finch payroll connection UUID.
- `hubspot_connection_id` (string) — HubSpot connection UUID.
- `plaid_connections` (array · PlaidConnectionSchema) — Connected bank accounts via Plaid.
- `slack_connected` (boolean) — Whether a Slack webhook URL is configured.
- `sync` (SyncStatus) — Teal sync status.
- `inventory_mode` (string) — Inventory module flavor: 'cpg' or 'finished_goods'.

### 401 — Unauthorized - Authentication required

### 403 — Forbidden - Insufficient permissions

### 404 — Not Found - Resource does not exist

### 422 — Validation Error

Schema: `HTTPValidationError`

- `detail` (array · ValidationError) → `ValidationError`
  - `loc` (array · string | integer · required)
  - `msg` (string · required)
  - `type` (string · required)
  - `input` (object)
  - `ctx` (object)

## Code samples

### cURL

```bash
curl -X GET 'https://api.ondayzero.com/api/v1/businesses/{business_id}' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID'
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/businesses/{business_id}', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
  },
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

response = httpx.get("https://api.ondayzero.com/api/v1/businesses/{business_id}", headers=headers)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/businesses/get-business
- OpenAPI slice: https://www.ondayzero.com/docs/reference/businesses/get-business/openapi.json
- Other endpoints in **businesses**: https://www.ondayzero.com/docs/reference/businesses
