How zoho/zcrm-nodejs-sdk works
This is an archived Node.js SDK that wraps Zoho CRM APIs as promise-based calls. A consuming application initializes ZCRMRestClient, obtains OAuth tokens or relies on refresh handling, invokes a domain API exposed through the API facade, and receives the Zoho response. The graph preserves the documented CRM, settings, user, organization, attachment, action, and function capabilities. Runtime wiring is evidenced by the sampled files and README; unsampled persistence internals are represented only where the index or documentation supports them.
Main entry points: util.js Request and token handling · crmapi.js API facade · ZCRMRestClient.js Client setup · OAuth.js OAuth flow
Components 15
SDK client
- Client setup
lib/js/ZCRMRestClient.js - API facade
lib/js/crmapi.js
OAuth authentication
- OAuth flow
lib/js/OAuth.js
CRM API capabilities
- Module records
lib/js/modules.js - CRM settings
lib/js/settings.js - Record actions
lib/js/actions.js - CRM users
lib/js/users.js - Organization
lib/js/org.js - Attachments
lib/js/attachments.js - Custom functions
lib/js/functions.js
Request and storage
- Request and token handling
lib/js/util.js - MySQL token store
lib/js/mysql/mysql_util.js
Other components
- Consuming application
- Zoho OAuth service
- Zoho CRM API
Connections 23
- Consuming application → Client setup: initializes and calls
README.md - Client setup → OAuth flow: generates tokens
lib/js/ZCRMRestClient.js - OAuth flow → Client setup: reads IAM config
lib/js/OAuth.js - OAuth flow → Zoho OAuth service: requests tokens
lib/js/OAuth.js - Client setup → API facade: exposes
lib/js/ZCRMRestClient.js - API facade → Module records: registers
lib/js/crmapi.js - API facade → CRM settings: registers
lib/js/crmapi.js - API facade → Record actions: registers
lib/js/crmapi.js - API facade → CRM users: registers
lib/js/crmapi.js - API facade → Organization: registers
lib/js/crmapi.js - API facade → Attachments: registers
lib/js/crmapi.js - API facade → Custom functions: registers
lib/js/crmapi.js - Module records → Request and token handling: builds requests
lib/js/modules.js - CRM settings → Request and token handling: builds requests
lib/js/settings.js - Record actions → Request and token handling: builds requests
lib/js/actions.js - CRM users → Request and token handling: builds requests
lib/js/users.js - Organization → Request and token handling: builds requests
lib/js/org.js - Attachments → Request and token handling: builds requests
lib/js/attachments.js - Custom functions → Request and token handling: builds requests
lib/js/functions.js - Request and token handling → OAuth flow: refreshes tokens
lib/js/util.js - Request and token handling → MySQL token store: reads and updates tokens
lib/js/util.js - Client setup → MySQL token store: saves generated tokens
lib/js/ZCRMRestClient.js - Request and token handling → Zoho CRM API: sends API requests
lib/js/util.js