PREPROD
ReaderAuthor

piper

Site Contact Tenant

`SiteContact.tenantId` ensures the contact record belongs to a specific organization and is not visible to other tenants.

1 min read · 2 depth levelsstratum-piper · vdevMatches production
Everyday

The tenantId on a SiteContact scopes the contact record to one organization. This prevents contact details entered by one firm from leaking to another firm using piper on the same platform. All SiteContact queries are filtered by tenantId, so users only ever see contacts that belong to their organization's sites. This field is set automatically when a contact is created and cannot be changed.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?