cURL
curl --request POST \ --url https://api.example.com/v1/prospects/search \ --header 'Content-Type: application/json' \ --data ' { "query": { "person_titles": [ {} ], "person_locations": [ {} ], "organization_industries": [ {} ], "organization_num_employees_ranges": [ {} ] }, "page": 123, "per_page": 123 } '
{ "data": { "prospects": [ { "id": "<string>", "name": "<string>", "title": "<string>", "email": "<string>", "company": "<string>", "location": "<string>", "linkedin_url": "<string>" } ] }, "meta": { "page": 123, "per_page": 123, "total": 123 } }
Search for prospects using advanced filters
Authorization: Bearer wbk_your_api_key_here Content-Type: application/json
Show Query fields
["CEO", "CTO", "Founder"]
["United States", "United Kingdom"]
["Legal", "Technology"]
["1-10", "11-50", "51-200", "201-500", "501-1000", "1001+"]
Show properties
Show Prospect object
curl -X POST \ https://nbkxaqxwvkgbddekwsma.supabase.co/functions/v1/api-gateway/v1/prospects/search \ -H "Authorization: Bearer wbk_your_api_key_here" \ -H "Content-Type: application/json" \ -d '{ "query": { "person_titles": ["CEO", "Chief Executive Officer"], "organization_industries": ["Legal"], "person_locations": ["United States"], "organization_num_employees_ranges": ["11-50", "51-200"] }, "per_page": 50 }'
{ "data": { "prospects": [ { "id": "apollo_123456", "name": "John Smith", "title": "CEO", "email": "john@example.com", "company": "Acme Legal Corp", "location": "New York, NY", "linkedin_url": "https://linkedin.com/in/johnsmith" }, { "id": "apollo_789012", "name": "Jane Doe", "title": "Chief Executive Officer", "email": "jane@lawfirm.com", "company": "Legal Partners LLC", "location": "San Francisco, CA", "linkedin_url": "https://linkedin.com/in/janedoe" } ] }, "meta": { "page": 1, "per_page": 50, "total": 150 } }
{ "query": { "person_titles": ["CTO", "VP of Engineering", "Director of Technology"] } }
{ "query": { "person_locations": ["California", "Texas"], "organization_industries": ["Technology", "SaaS"] } }
{ "query": { "organization_num_employees_ranges": ["51-200", "201-500"] } }
validation_error
invalid_key
insufficient_permissions
read
rate_limited