Multi-language SDK for the Cloze API with 100% endpoint coverage.
This repository contains official SDKs for integrating with the Cloze CRM API. Each SDK provides complete coverage of all Cloze API endpoints, including analytics, team management, account operations, projects, people, companies, timeline, and webhooks.
- Location:
python/ - Status: ✅ Production Ready
- Coverage: 100% of all API endpoints
- Test Coverage: 100% code coverage
- Quick Start: See Python SDK README
- Location:
php/ - Status: ✅ Production Ready
- Coverage: 100% of all API endpoints
- Test Coverage: 100% code coverage
- Quick Start: See PHP SDK README
pip install cloze-sdkfrom cloze_sdk import ClozeClient
client = ClozeClient(api_key="your_api_key")
profile = client.account.get_profile()composer require cloze/cloze-sdk-phpuse Cloze\SDK\ClozeClient;
$client = new ClozeClient('your_api_key');
$profile = $client->account->getProfile();- ✅ 100% API Coverage - All 43+ Cloze API endpoints supported
- ✅ Full Test Coverage - 100% code coverage with unit, integration, and E2E tests
- ✅ Multiple Authentication Methods - API Key, OAuth 2.0, Bearer Token
- ✅ Comprehensive Error Handling - Custom exceptions for all error types
- ✅ Type Safety - Full type hints and documentation
- ✅ Production Ready - Battle-tested and actively maintained
All SDKs support the complete Cloze API:
- Analytics (6 endpoints) - Activity, funnel, leads, projects, team activity
- Team (4 endpoints) - Members, nodes, roles
- Account (8 endpoints) - Profile, fields, segments, stages, steps, views
- Projects (6 endpoints) - CRUD operations, find, feed
- People (6 endpoints) - CRUD operations, find, feed
- Companies (6 endpoints) - CRUD operations, find, feed
- Timeline (4 endpoints) - Communications, content, todos, message opens
- Webhooks (3 endpoints) - List, subscribe, unsubscribe
- API Documentation: See
docs/cloze-api-docs.mdfor comprehensive API reference - Python SDK: See
python/README.mdfor Python-specific documentation - PHP SDK: See
php/README.mdfor PHP-specific documentation - Developer Portal: https://developer.cloze.com/
Python:
cd python
make testPHP:
cd php
make testContributions are welcome! Please see the individual SDK READMEs for contribution guidelines.
- Issues: GitHub Issues
- Email: support@cloze.com
- Documentation: https://developer.cloze.com/
- Code: AGPLv3 - See
LICENSE-CODEfor details - Documentation: CC-BY-SA 4.0 - See
LICENSE-DOCSfor details