Close CRM
How to search Close CRM leads
Use Close’s advanced-filtering API to run repeatable lead searches and reports. Use Close lead filtering and Smart Views when a sales operator needs to inspect or save a search in the UI.
Documentation reviewed · 2 methods with sources
Ways to do it
API
POST /api/v1/data/search/
Run a structured search over leads, contacts, activities, or other Close objects and return selected fields.
Read source: Close Search & Reporting- Requirements
- A Close API key using HTTP Basic authentication, with the key as the username and an empty password.
- Limitations
- Each page accepts at most 200 results. Pass the response cursor before it expires after 30 seconds. Pagination stops at 10,000 results and request bodies are limited to 50 KB. Close also applies endpoint-group rate limits and returns RateLimit and 429 retry headers.
Example shell
curl --fail --request POST 'https://api.close.com/api/v1/data/search/' \
--user "$CLOSE_API_KEY:" \
--header 'Content-Type: application/json' \
--data '{"query":{"type":"and","queries":[{"type":"object_type","object_type":"lead"}]},"_fields":{"lead":["id","display_name"]},"_limit":50}'Interface
Close lead filtering and Smart Views
Filter leads in Close and save a repeatable Smart View for sales review.
Read source: Close Help: Lead Filtering and Smart Views- Requirements
- A Close user with permission to view leads and create or access Smart Views in the workspace.
- Limitations
- Filters apply to the selected object. The Copy Filters menu action gives you the corresponding JSON for the API.
Example text
Close → Leads → Filter