Create lead
documentedCreate a new lead.
POST /api/v1/leadsLeadsno 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://app.whatconverts.com/api/v1/leads" \
-X POST \
-u "{{WHATCONVERTS_API_KEY}}:{{WHATCONVERTS_SECRET}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"profile_id": {{$profile_id}}, "send_notification": {{$send_notification}}, "lead_type": "{{$lead_type}}", "email_address": "{{$email_address}}", "phone_number": "{{$phone_number}}", "lead_url": "{{$lead_url}}", "landing_url": "{{$landing_url}}", "city": "{{$city}}", "state": "{{$state}}", "postal_code": "{{$postal_code}}", "country": "{{$country}}", "operating_system": "{{$operating_system}}", "browser": "{{$browser}}", "device_type": "{{$device_type}}"}'