public_builder
Ensure Lead Tenant Ownership
Ensure authenticated user has ownership of the tenant associated with a lead.
If the user is not part of the tenant AND the tenant is UNCLAIMED:
- Adds the user to the tenant
- Marks the tenant as ACTIVE
This endpoint is idempotent - safe to call multiple times. Required for authenticated users who return to complete onboarding.
post/public_builder/leads/{lead_id}/ensure-ownership
Path parameters
lead_idstring uuid required
Response
Successful Response
{"stackTrail":"paths:/public_builder/leads/{lead_id}/ensure-ownership:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}