Close: API Design — Leads, Activities & Custom Objects
Docs-backedREST API at api.close.com/api/v1/. Leads: standard CRUD at /lead/ with custom fields, status, and address data. Contacts: /contact/ linked to leads with name, email, phone, and title. Opportunities: /opportunity/ with value, confidence, date_won, and pipeline stages. Activities: separate endpoints for each type — /activity/email/, /activity/call/, /activity/meeting/, /activity/note/. Search: POST to /data/{object_type}/search/ with complex query objects supporting AND/OR/NOT conditions across fields. Custom fields are defined per object type. Bulk operations: /data/import/ for CSV-based bulk creation. Webhooks deliver events for lead, contact, opportunity, and activity changes. The API is well-designed with consistent patterns and strong search capabilities. Pagination uses _skip and _limit with has_more indicator.