Welcome to the Zoho CRM OpenAPI Specification (OAS) v8.0 repository. This repository provides OpenAPI specifications and operation-level documentation for Zoho CRM APIs, enabling developers to understand the APIs, generate SDKs, and build integrations using standardized API definitions.
The OpenAPI Specification (OAS) is a standardized format for documenting RESTful APIs. It describes API endpoints, request and response formats, schemas, and authentication requirements. The files in this repository can be used to:
- Understand Zoho CRM API endpoints and their usage.
- Generate SDKs in languages such as Python, Java, and Node.js.
- Integrate Zoho CRM with third-party applications.
- Provide compressed operation documentation and examples to CRM Skills.
v8.0/ contains one folder per resource, for example appointments/, record/, users/, and many others.
Each resource folder contains:
<resource>.yaml- the resource OAS file (for example,appointments.yaml).index.md- resource overview with links to operations.operations/<operation_id>/operation.md- compressed Markdown for each operation.operations/<operation_id>/examples/*.md- request/response example Markdown files.
Example:
v8.0/appointments/
appointments.yaml
index.md
operations/
getAppointmentsS/
operation.md
examples/
response-200-success200.md
response-400-invalidmoduleresponse1.md
sample_api_runner.py- sample runner for testing CRM API operations with a generated Python SDK.
CRM Skills uses the OAS files, compressed operation Markdown, and examples from this repository to provide API-specific guidance.
For the skill to work correctly, keep these in sync:
- Resource OAS files (
v8.0/<resource>/<resource>.yaml). - Operation compressed Markdown (
v8.0/<resource>/operations/<operation_id>/operation.md). - Operation example Markdown files (
v8.0/<resource>/operations/<operation_id>/examples/*.md).
When an OAS file changes, its operation documentation and examples must also be updated. Otherwise, CRM Skills may return stale or inconsistent API guidance.
- Navigate to
v8.0/. - Select the resource folder relevant to your use case, such as
record/,users/, orappointments/. - Use the resource YAML file as the OpenAPI definition.
- Refer to
index.md,operations/*/operation.md, andoperations/*/examples/*.mdfor supporting documentation and examples. - Import the YAML file into Swagger API Hub or Postman to explore the API.
- In Swagger API Hub, go to Design > Import API.
- Import the raw URL of the required resource YAML file from this repository.
- Go to Codegen > Client SDK.
- Select a language and download the generated SDK.
python/sample_api_runner.py demonstrates authenticated Zoho CRM API calls with a generated SDK.
- Configure OAuth credentials (
Client ID,Client Secret,Refresh Token) from the Zoho Developer Console. - Install dependencies:
pip install requests python-dotenv- Ensure generated Python SDK modules (for example,
swagger_client) are available in your environment. - Run from repository root:
python3 python/sample_api_runner.pyFor help, see Zoho CRM API Documentation or contact support@zohocrm.com.