---
title: "Create Google Lsa Account Business Unit"
method: POST
path: "/admin/lsa/account-business-unit"
tags: ["admin", "lsa-admin"]
---

# Create Google Lsa Account Business Unit

`POST /admin/lsa/account-business-unit`

## Request

- Base URL: `https://api-docs.upsmith.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api-docs.upsmith.com/admin/lsa/account-business-unit`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Map an LSA account to a ServiceTitan business unit. Idempotent — returns the existing live
row if the pair is already mapped. Use to add mappings the seeding backfill missed (e.g.
market-split accounts) or to correct a miscategorization.

## Headers

- `organization-id` string, nullable
- `timezone` string
- `x-user-id` string, nullable
- `x-actor-email` string, nullable
- `x-request-source` string, nullable
- `x-operation-id` string, nullable
- `x-commit-message` string, nullable
- `x-confirmation-id` string, nullable
- `x-chat-id` string, nullable

## Request body

- GoogleLSAAccountBusinessUnitBody
  - `organization_id` string, uuid, required: organization.id (UUID) that owns the LSA account.
  - `google_lsa_account_id` string, uuid, required: leads.google_lsa_account.id — the LSA account to map.
  - `st_business_unit_id` integer, required: ServiceTitan business unit id (service_titan.service_titan_business_unit.id).

## Response `200`

Successful Response

- GoogleLSAAccountBusinessUnitResponse
  - `id` string, uuid, required
  - `organization_id` string, uuid, required
  - `google_lsa_account_id` string, uuid, required
  - `st_business_unit_id` integer, required
  - `created_at` string, date-time, nullable
  - `updated_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

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