Lead sources for every property
One block per property on the website, so a centralized site builds from one call. A property's lead sources, tracking phone numbers and emails, and the rules a site evaluates in the browser to pick a source for a visit. Tag: `lead-sources:{property_id}`.
/api/sites/v1/lead-sourcesOne block per property on the website, so a centralized site builds from one call. A property's lead sources, tracking phone numbers and emails, and the rules a site evaluates in the browser to pick a source for a visit. Tag: lead-sources:{property_id}.
Authorization
websiteToken A Sanctum token scoped to one website.
In: header
Query Parameters
A property slug on this website. Unknown slug is a 404.
1 <= value11 <= value <= 10025Header Parameters
Website id. Overrides Host resolution for builds running where Host is meaningless. The token must still be scoped to this website.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/api/sites/v1/lead-sources"{ "data": [ { "property": { "id": "string", "slug": "string", "name": "string" }, "fallback_phone": "string", "fallback_email": "string", "external_source_field": "string", "sources": [ { "id": 0, "name": "string", "code": "string", "phone": "string", "email": "string" } ], "resolution": { "source_observation_endpoint": "string", "click_id_params": [ "string" ], "rules": [ { "id": 0, "priority": 0, "lead_source_id": 0, "condition_operator": "string", "conditions": [ { "type": "string", "parameter": "string", "pattern": "string", "value": "string" } ] } ] } } ], "meta": { "pagination": { "total": 0, "page": 0, "per_page": 0, "last_page": 0 }, "cache": { "tags": [ "string" ], "ttl": 0 } }}Search facets GET
What a search UI's filters can offer, with counts. The values are exactly what the `beds`, `baths`, `city` and `state` filters accept. Tags: `site`, `inventory:{property_id}`.
Lead sources for one property GET
A property's lead sources, tracking phone numbers and emails, and the rules a site evaluates in the browser to pick a source for a visit. Tag: `lead-sources:{property_id}`.