# GET /api/v1/advisory-firms/{firm_id}

> Get advisory firm

- **Tag:** advisory-firms
- **Operation ID:** `get_firm_api_v1_advisory_firms__firm_id__get`

## Description

Get details of a specific advisory firm.

## Authentication

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

## Parameters

- `firm_id` (path, string, required)

## Responses

### 200 — Successful Response

Schema: `AdvisoryFirmResponse`

- `name` (string · required) — Firm name.
- `address` (string) — Firm business address.
- `ein` (string) — Tax Employer Identification Number.
- `logo_url` (string) — URL or S3 key for the firm logo.
- `stripe_customer_id` (string) — Stripe customer ID for subscription billing.
- `client_messaging_enabled` (boolean) — Whether clients can use the messaging portal.
- `ap_automation_enabled` (boolean) — Whether clients see the AP automation bills page in the client portal.
- `client_visible_integrations` (array · string) — Integration IDs visible to clients in the client portal.
- `id` (string · required) — Advisory firm UUID.
- `slack_connected` (boolean) — Whether a Slack webhook URL is configured.
- `slack_webhook_url_masked` (string) — Masked Slack webhook URL (never exposes the full secret).

### 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/advisory-firms/{firm_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/advisory-firms/{firm_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/advisory-firms/{firm_id}", headers=headers)
data = response.json()
```

## See also

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