Create lead
documentedCreate a new lead.
POST /leads/leadLeadsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.idxbroker.com/leads/lead" \
-X POST \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "accesskey: {{IDXBROKER_API_KEY}}" \
-H "ancillarykey: {{IDXBROKER_SECRET}}" \
-H "outputtype: json" \
-H "apiversion: 1" \
-d "firstName={{$firstName}}&lastName={{$lastName}}&email={{$email}}&phone={{$phone}}&address={{$address}}&city={{$city}}&state={{$state}}&postalCode={{$postalCode}}¬es={{$notes}}&agentOwner={{$agentOwner}}&savedSearchInfo={{$savedSearchInfo}}&savedPropertyInfo={{$savedPropertyInfo}}&leadSource={{$leadSource}}"