Use the Zoho Desk CLI from KosmoKrator to call Zoho Desk tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Zoho Desk can be configured headlessly with `kosmokrator integrations:configure zoho-desk`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure zoho-desk --set access_token="$ZOHO_DESK_ACCESS_TOKEN" --set org_id="$ZOHO_DESK_ORG_ID" --enable --read allow --write ask --jsonkosmokrator integrations:doctor zoho-desk --jsonkosmokrator integrations:status --json
Credentials
Authentication type: Manual OAuth tokenoauth2_manual_token. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
access_token
ZOHO_DESK_ACCESS_TOKEN
Secret secret
yes
Access Token
url
ZOHO_DESK_URL
URL url
no
API Base URL
org_id
ZOHO_DESK_ORG_ID
Text string
yes
Organization ID
Call Zoho Desk Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Zoho Desk.
zoho-desk.zohodesk_list_tickets
Read read
List support tickets from Zoho Desk. Supports filtering by department, status, priority, and other criteria. Returns ticket IDs, subjects, statuses, and basic details.
Create a new support ticket in Zoho Desk. Requires at least a subject and department ID. Optionally include a contact ID, description, priority, and other ticket fields.
Update an existing support ticket in Zoho Desk. Provide the ticket ID and the fields to update (e.g., status, priority, assignee, subject, description).
List knowledge base articles from Zoho Desk. Supports filtering by department, category, and search terms. Returns article IDs, titles, summaries, and categories.
List all departments configured in Zoho Desk. Returns department IDs, names, descriptions, and visibility settings. Department IDs are needed when creating tickets.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
zoho-desk.zohodesk_list_tickets
List support tickets from Zoho Desk. Supports filtering by department, status, priority, and other criteria. Returns ticket IDs, subjects, statuses, and basic details.
Create a new support ticket in Zoho Desk. Requires at least a subject and department ID. Optionally include a contact ID, description, priority, and other ticket fields.
Update an existing support ticket in Zoho Desk. Provide the ticket ID and the fields to update (e.g., status, priority, assignee, subject, description).
Maximum number of contacts to return (default: 25, max: 200).
search
string
no
Search term to filter contacts by name, email, or phone.
sortBy
string
no
Sort field (e.g., "firstName", "createdTime").
sortOrder
string
no
Sort direction: "asc" or "desc".
zoho-desk.zohodesk_list_articles
List knowledge base articles from Zoho Desk. Supports filtering by department, category, and search terms. Returns article IDs, titles, summaries, and categories.
Maximum number of articles to return (default: 25, max: 200).
search
string
no
Search term to filter articles by title or content.
sortBy
string
no
Sort field (e.g., "title", "modifiedTime").
sortOrder
string
no
Sort direction: "asc" or "desc".
zoho-desk.zohodesk_list_departments
List all departments configured in Zoho Desk. Returns department IDs, names, descriptions, and visibility settings. Department IDs are needed when creating tickets.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.