API reference / Developers
Foundry leads API
Submit a public buyer request.
Endpoint
/api/public/foundry/leadsCaptures a public-safe buyer request when lead capture is enabled.
- Access
- Public form endpoint with validation and anti-spam controls
- Freshness
- Cached public-safe artifact. Check product cadence for source refresh expectations.
curl -sS https://zentrafoundry.com/api/public/foundry/leads \
-H 'Content-Type: application/json' \
-d '{"product_slug":"example-product","email":"buyer@example.com","consent":true}'const response = await fetch('https://zentrafoundry.com/api/public/foundry/leads', {
method: 'POST',
headers: { 'Accept': 'application/json' }
});
const payload = await response.json();import requests
response = requests.post('https://zentrafoundry.com/api/public/foundry/leads', headers={'Accept': 'application/json'})
payload = response.json()Purpose
Submit a public buyer request.
Public and auth behavior
Foundry discovery endpoints are public and return cached public-safe payloads. Marketplace product APIs may require a configured marketplace access path such as bearer token, RapidAPI proxy secret, GitHub entitlement, or Zapier automation key.
Caching and freshness
Responses are backed by generated or cached artifacts. They are meant for stable public discovery and integration, not direct access to internal systems or live provider dashboards.
Errors
Expect standard JSON error responses for missing products, invalid input, rejected access, or throttled requests. Public Foundry API traffic is rate limited to the configured public limiter.
Security notes
Examples use sanitized slugs and do not expose internal database IDs, private run IDs, owner-only endpoints, provider credentials, or bucket names.