authenticated
leads

Ingest Service Titan Form Lead

Ingest a ServiceTitan form-fill booking as a Lead.

Called by service-titan-service's bookings ETL dispatcher. The org comes from the request body, not the auth context; only compare when the caller carries an organization. Dedup happens inside LeadIngestionHandler.

post/leads/ingest/service-titan-form

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
x-user-idstring nullable
timezonestring
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 required
payloadobject required

Response

Successful Response

lead_idstring required
createdboolean required

Changes

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