Skip to content

CRM

Close mock API

Close CRM API v1: leads, contacts, opportunities, tasks, activities (notes, calls, emails) and webhook subscriptions.

At a glance

Operations
308
Stateful operations
20
Stateful resources
6
Webhook events
9
Vendor API version
1.0.0
Verification
Spec-verified

How it works

Use Close without calling Elastic Inc. (Close)

Authorization: Basic YXBpXzBhMUIyYzNENGU1RjZnN0g4aTlKMGsxTDJtM040by5QNHE1UjZzNy06

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Leads4
Contacts2
Opportunities3
Tasks2
Activities (notes, calls, emails)7
Webhook subscriptions2

Webhooks

Events your handlers can receive

Deliveries are signed with the hmac scheme, so your verification code runs unchanged.

Coverage

308 operations

20 of them are stateful. The largest groups:

GroupOperations
Other operations288
Activities (notes, calls, emails)7
Leads4
Opportunities3
Contacts2
Tasks2

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

Source and limits

License, source and limits

Each collection (leads, contacts, opportunities, tasks, notes, calls, emails, webhook subscriptions) holds up to 1 MiB of objects per API key; writes beyond that are dropped (x-maxoperf-vs-state: capacity). Lead search `query` is a case-insensitive substring over the lead name only; the Close query language, _fields projection, total counts, custom fields and sorting are not implemented, and deleting a lead leaves its contacts, opportunities, tasks and activities in place. A lead create accepts at most 2 inline contacts; merging moves the source lead's contacts, opportunities and tasks to the destination (one merge per destination). DELETE answers 200 with {} as the pinned spec declares. Ids are validated by prefix: a well-formed but unknown id (lead_, cont_, oppo_, task_, acti_, whsub_ or stat_ followed by letters and digits) answers 404 or a field error, while any other id falls through to a generated response that stores nothing. Opportunity expected values are not computed, previous_data in webhook payloads is empty, and statuses, custom fields, users, sequences, SmartViews and reports are read-only or stateless. Webhook subscriptions are signed with HMAC-SHA256 hex over close-sig-timestamp + body using the hex-decoded signature_key (headers close-sig-hash and close-sig-timestamp); the key is returned only when the subscription is created.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Elastic Inc. (Close). Close is a trademark of its owner.