{
  "openapi": "3.1.0",
  "info": {
    "title": "Zoho CRM Developer Space API",
    "description": "Developer documentation and API references for Zoho CRM platform tools — Client Script, Web API, Widget SDK, SlyteUI, and Event Dictionary.",
    "version": "1.0.0",
    "contact": {
      "name": "Zoho CRM Developer Support",
      "url": "https://www.zohocrm.dev",
      "email": "support@zoho.com"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://www.zoho.com/privacy.html"
    }
  },
  "servers": [
    {
      "url": "https://www.zohocrm.dev",
      "description": "Zoho CRM Developer Space"
    }
  ],
  "externalDocs": {
    "description": "Full developer documentation",
    "url": "https://www.zohocrm.dev/explore"
  },
  "paths": {
    "/dxh-data-store/client-api.json": {
      "get": {
        "operationId": "getClientApiReference",
        "summary": "Get ZDK Client API Reference",
        "description": "Returns the complete ZDK (Zoho Developer Kit) Client API reference as JSON, covering Page, Record, User, and Org namespaces.",
        "tags": ["Reference Data"],
        "responses": {
          "200": {
            "description": "Client API reference JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/dxh-data-store/web-api.json": {
      "get": {
        "operationId": "getWebApiReference",
        "summary": "Get Zoho CRM Web API Reference",
        "description": "Returns the Zoho CRM REST API reference, covering modules, records, search, and metadata endpoints.",
        "tags": ["Reference Data"],
        "responses": {
          "200": {
            "description": "Web API reference JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/dxh-data-store/widget-sdk-master.json": {
      "get": {
        "operationId": "getWidgetSdkReference",
        "summary": "Get Zoho CRM Widget SDK Reference",
        "description": "Returns the Widget SDK reference for building custom widgets in Zoho CRM.",
        "tags": ["Reference Data"],
        "responses": {
          "200": {
            "description": "Widget SDK reference JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/dxh-data-store/event-dictionary.json": {
      "get": {
        "operationId": "getEventDictionary",
        "summary": "Get Client Script Event Dictionary",
        "description": "Returns all Client Script events in Zoho CRM, organized by module and page type.",
        "tags": ["Reference Data"],
        "responses": {
          "200": {
            "description": "Event dictionary JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/dxh-data-store/slyte-components-configuration.json": {
      "get": {
        "operationId": "getSlyteUIComponents",
        "summary": "Get SlyteUI Component Configuration",
        "description": "Returns the SlyteUI component library configuration including all components, properties, and events.",
        "tags": ["Reference Data"],
        "responses": {
          "200": {
            "description": "SlyteUI components JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/dxh-data-store/explore-features.json": {
      "get": {
        "operationId": "getExploreFeatures",
        "summary": "Get available features and documentation sections",
        "description": "Returns a list of all available features and documentation sections in the developer space.",
        "tags": ["Navigation"],
        "responses": {
          "200": {
            "description": "Feature list JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/api-catalog": {
      "get": {
        "operationId": "getApiCatalog",
        "summary": "Get API Catalog (RFC 9727)",
        "description": "Returns the API catalog in linkset+json format per RFC 9727.",
        "tags": ["Discovery"],
        "responses": {
          "200": {
            "description": "API catalog linkset",
            "content": {
              "application/linkset+json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/agent-skills/index.json": {
      "get": {
        "operationId": "getAgentSkillsIndex",
        "summary": "Get Agent Skills Discovery Index",
        "description": "Returns the agent skills discovery index per Agent Skills Discovery RFC v0.2.0.",
        "tags": ["Discovery"],
        "responses": {
          "200": {
            "description": "Agent skills index JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/.well-known/mcp/server-card.json": {
      "get": {
        "operationId": "getMcpServerCard",
        "summary": "Get MCP Server Card",
        "description": "Returns the MCP Server Card (SEP-1649) for agent discovery.",
        "tags": ["Discovery"],
        "responses": {
          "200": {
            "description": "MCP server card JSON",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Reference Data",
      "description": "API and SDK reference data endpoints"
    },
    {
      "name": "Navigation",
      "description": "Site navigation and feature discovery endpoints"
    },
    {
      "name": "Discovery",
      "description": "Agent and API discovery endpoints"
    }
  ],
  "components": {
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth 2.0 via Zoho Accounts",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "https://accounts.zoho.com/oauth/v2/auth",
            "tokenUrl": "https://accounts.zoho.com/oauth/v2/token",
            "refreshUrl": "https://accounts.zoho.com/oauth/v2/token",
            "scopes": {
              "ZohoCRM.modules.READ": "Read-only access to CRM modules",
              "ZohoCRM.modules.ALL": "Full access to CRM modules",
              "ZohoCRM.settings.READ": "Read-only access to CRM settings"
            }
          },
          "clientCredentials": {
            "tokenUrl": "https://accounts.zoho.com/oauth/v2/token",
            "scopes": {
              "ZohoCRM.modules.READ": "Read-only access to CRM modules",
              "ZohoCRM.settings.READ": "Read-only access to CRM settings"
            }
          }
        }
      }
    }
  }
}
