admin
lsa-admin

Create Google Lsa Account Business Unit

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.

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)
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

organization-idstring nullable
timezonestring
x-user-idstring nullable
x-actor-emailstring nullable
x-request-sourcestring nullable
x-operation-idstring nullable
x-commit-messagestring nullable
x-confirmation-idstring nullable
x-chat-idstring nullable

Request body

organization_idstring uuid required

organization.id (UUID) that owns the LSA account.

google_lsa_account_idstring uuid required

leads.google_lsa_account.id — the LSA account to map.

st_business_unit_idinteger required

ServiceTitan business unit id (service_titan.service_titan_business_unit.id).

Response

Successful Response

idstring uuid required
organization_idstring uuid required
google_lsa_account_idstring uuid required
st_business_unit_idinteger required
created_atstring date-time nullable
updated_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.