Lead sources for one property
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/properties/{property}/lead-sourcesA 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
Path Parameters
The property's slug.
Header 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/properties/string/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": { "cache": { "tags": [ "string" ], "ttl": 0 } }}Lead sources for every property GET
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}`.
Integrations for every property GET
One block per property on the website. Tag: `integrations:{property_id}`.