Freshdesk CLI for AI Agents

Use Composio Universal CLI with Freshdesk. Create a new ticket for a customer issue, list all open tickets assigned to me, and more using natural language, with authentication handled for you.

Freshdesk logoFreshdesk
Api Key

Freshdesk is customer support software with ticketing and automation tools. It helps teams streamline helpdesk operations for faster, better customer support.

182 Tools

Introduction

CLIs are eating MCPs. The industry is converging on the very same idea. MCPs for all their merit can be token hungry, slow, and unreliable for complex tool chaining. However, coding agents have become incredibly good at working with CLIs, and in fact they are far more comfortable working with CLI tools than MCP.

With Composio's Universal CLI, your coding agents can talk to over 1500+ SaaS applications. With Freshdesk, agents can create a new ticket for a customer issue, list all open tickets assigned to me, update ticket status to resolved for ticket 12345, and more — all without worrying about authentication.

This guide walks you through Composio Universal CLI and explains how you can connect it with coding agents like Claude Code, Codex, OpenCode, etc, for end-to-end Freshdesk automation.

Also integrate Freshdesk with

What is Universal CLI and why use it?

The idea behind building the universal CLI is to give agents a single command interface to interact with all your external applications. Here's what you'll get with it:

  • Agent-friendly: Coding agents like Claude Code, Codex, and OpenCode can use CLI tools natively — no MCP setup required.
  • Authentication handled: Connect once via OAuth or API Key, and all CLI commands work with your credentials automatically.
  • Tool discovery: Search, inspect, and execute 20,000+ tools across 1500+ apps from one interface.
  • Trigger support: Use triggers to listen for events across your apps, powered by real-time webhooks or polling under the hood.
  • Type generation: Generate typed schemas for autocomplete and type safety in your projects.

Prerequisites

Install the Composio CLI, authenticate, and initialize your project:

bash
# Install the Composio CLI
curl -fsSL https://composio.dev/install | bash

# Authenticate with Composio
composio login

During login you'll be redirected to sign in page, finish the complete flow and you're all set.

Composio CLI authentication flow

Connecting Freshdesk to Coding Agents via Universal CLI

Once it is installed, it's essentially done. Claude Code, Codex, OpenCode, OpenClaw, or any other agent will be able to access the CLI. A few steps to give agents access to your apps.

  1. Launch your Coding Agent — Claude Code, Codex, OpenCode, anything you prefer.
  2. Prompt it to "Authenticate with Freshdesk"
  3. Complete the authentication and authorization flow and your Freshdesk integration is all set.
  4. Start asking anything you want.

Universal CLI Commands for Freshdesk

You can also manually execute CLI commands to interact with your Freshdesk.

Connect your Freshdesk account

Link your Freshdesk account and verify the connection:

bash
# Connect your Freshdesk account (opens OAuth flow)
composio connected-accounts link freshdesk

# Verify the connection
composio connected-accounts list --toolkits freshdesk

Discover Freshdesk tools

Search and inspect available Freshdesk tools:

bash
# List all available Freshdesk tools
composio tools list --toolkit freshdesk

# Search for Freshdesk tools by action
composio tools search "freshdesk"

# Inspect a tool's input schema
composio tools info FRESHDESK_GET_AGENTS

Common Freshdesk Actions

Search Agents Autocomplete — Tool to search for agents using autocomplete functionality in Freshdesk

bash
composio tools execute FRESHDESK_GET_AGENTS \
  --term "john"

Filter Tickets — Tool to search and filter tickets in Freshdesk using flexible query syntax

bash
composio tools execute FRESHDESK_GET_SEARCH \
  --query "(status:2)"

Search Agents — Tool to search and filter agents in Freshdesk

bash
composio tools execute FRESHDESK_SEARCH_AGENTS \
  --page "<integer>" \
  --email "abc@xyz.com" \
  --phone "<string>" \
  --state "<string>"

Search Companies — Tool to search and filter companies in Freshdesk using query strings with custom fields

bash
composio tools execute FRESHDESK_SEARCH_COMPANIES \
  --query "created_at:>'2020-01-01'"

Search Companies Autocomplete — Tool to search for companies using autocomplete functionality in Freshdesk

bash
composio tools execute FRESHDESK_SEARCH_COMPANY \
  --name "Acme"

Search Contacts — Tool to search and filter contacts in Freshdesk using query-based search

bash
composio tools execute FRESHDESK_SEARCH_CONTACTS \
  --query ""email:'user@example.com'""

Search Contacts Autocomplete — Tool to search for contacts using autocomplete functionality in Freshdesk

bash
composio tools execute FRESHDESK_SEARCH_CONTACTS_AUTOCOMPLETE \
  --term "john"

Search Solution Articles — Tool to search solution articles in Freshdesk knowledge base by keyword

bash
composio tools execute FRESHDESK_SEARCH_SOLUTION_ARTICLES \
  --term "password reset"

Generate Type Definitions

Generate typed schemas for Freshdesk tools to get autocomplete and type safety in your project:

bash
# Auto-detect language
composio generate --toolkits freshdesk

# TypeScript
composio ts generate --toolkits freshdesk

# Python
composio py generate --toolkits freshdesk

Tips & Tricks

  • Always inspect a tool's input schema before executing: composio tools info <TOOL_NAME>
  • Pipe output with jq for better readability: composio tools execute TOOL_NAME -d '{}' | jq
  • Set COMPOSIO_API_KEY as an environment variable for CI/CD pipelines
  • Use composio dev logs tools to inspect execution logs and debug issues

Next Steps

  • Try asking your coding agent to perform various Freshdesk operations
  • Explore cross-app workflows by connecting more toolkits
  • Set up triggers for real-time automation
  • Use composio generate for typed schemas in your projects
TOOLS

Supported Tools

Every Freshdesk action and event your agent gets out of the box.

Add Note to Ticket

Tool to add a private or public note to an existing ticket in Freshdesk.

Add Ticket User Access

Add agent access to a specific Freshdesk ticket using agent IDs.

Add Watcher to Ticket

Tool to add the authenticated user as a watcher to a Freshdesk ticket.

Bulk Unwatch Tickets

Remove the authenticated user as a watcher from multiple Freshdesk tickets.

Bulk Update Tickets

Tool to update multiple tickets simultaneously in bulk.

Cancel Contact Import

Tool to cancel an ongoing contact import operation in Freshdesk.

Create Admin Group

Tool to create a new admin group in Freshdesk.

Create Admin Group

Tool to create a new admin-level support agent group in Freshdesk.

Create Admin Ticket Field

Tool to create a new custom ticket field in Freshdesk.

Create Admin Ticket Field Section

Tool to create a new section within a ticket field in Freshdesk.

Create Multiple Agents

Tool to create multiple agents in Freshdesk in a single bulk operation.

Create Automation Rule

Create an inactive-by-default Freshdesk automation rule.

Create Canned Response

Tool to create a new canned response in Freshdesk.

Bulk Create Canned Responses

Tool to create multiple canned responses in bulk via asynchronous operation.

Create Canned Response Folder

Tool to create a new canned response folder in Freshdesk.

Create Company

Tool to create a new company in Freshdesk.

Create Contact

Tool to create a new contact in Freshdesk.

Create Contact Field

Tool to create a new custom contact field in Freshdesk.

Create Discussion Category

Tool to create a new discussion category in Freshdesk forums.

Create Discussion Forum Topic

Tool to create a new topic in a Freshdesk discussion forum.

Create Discussion Topic Comment

Tool to create a new comment on a discussion forum topic.

Create Email Mailbox

Tool to create a new email mailbox in Freshdesk.

Create Forum

Tool to create a new forum within a category in Freshdesk discussions.

Create SLA Policy

Tool to create a new SLA (Service Level Agreement) policy in Freshdesk.

Create Solution Article

Tool to create a new solution article in a Freshdesk knowledge base folder.

Create Solution Category

Tool to create a new solution category in Freshdesk's knowledge base.

Create Ticket

Create a Freshdesk ticket with a subject, description, and requester identifier; a name is required if phone is provided without email.

Create Ticket Form

Tool to create a new ticket form in Freshdesk.

Create Ticket via Outbound Email

Tool to create a ticket by sending an outbound email to external recipients.

Create Ticket Time Entry

Tool to create a time entry for a specific ticket in Freshdesk.

Create Translated Solution Category

Tool to create a translated version of an existing solution category.

Currently Authenticated Agent

Tool to retrieve profile information for the currently authenticated agent.

Delete Admin Group

Tool to delete an admin group from Freshdesk.

Delete Agent

Tool to permanently delete an agent from Freshdesk.

Delete Automation Rule

Permanently deletes an automation rule from Freshdesk by its type and rule ID.

Delete Company

Delete a company from Freshdesk without deleting its associated customers.

Delete Company Field

Tool to permanently delete a custom company field from Freshdesk.

Delete Contact

Tool to soft delete a contact from Freshdesk.

Delete Contact Field

Permanently delete a custom contact field from Freshdesk.

Delete Conversation

Tool to permanently delete a conversation from a ticket in Freshdesk.

Delete Discussion Category

Permanently deletes a forum discussion category from Freshdesk.

Delete Discussion Comment

Delete a specific Freshdesk discussion comment.

Delete Discussion Forum

Tool to permanently delete a discussion forum in Freshdesk.

Unmonitor Forum

Tool to unfollow/unmonitor a discussion forum in Freshdesk.

Unmonitor Topic

Tool to unfollow/unmonitor a discussion topic in Freshdesk.

Delete Discussion Topic

Delete a specific discussion topic from a Freshdesk forum by its ID.

Delete Email Mailbox

Tool to permanently delete an email mailbox from Freshdesk.

Delete Group

Tool to permanently disband a group from Freshdesk.

Delete Multiple Tickets

Asynchronously deletes multiple tickets in bulk.

Delete Section

Permanently delete an empty section from a Freshdesk ticket field.

Delete Skill

Delete a Freshdesk skill by its ID.

Delete Solution Article

Tool to permanently delete a solution article and its translated versions in Freshdesk.

Delete Solution Category

Permanently delete a solution category from Freshdesk's knowledge base.

Delete Solution Folder

Tool to permanently delete a solution folder and its translated versions in Freshdesk.

Delete Ticket

Tool to permanently delete a ticket from Freshdesk.

Delete Ticket Field

Permanently delete a custom ticket field from Freshdesk.

Delete Ticket Form

Tool to permanently delete a ticket form from Freshdesk.

Delete Ticket Form Field

Tool to permanently delete a specific field from a ticket form in Freshdesk.

Delete Ticket Summary

Tool to delete the AI-generated summary of a ticket in Freshdesk.

Delete Ticket User Access

Tool to remove all agent access from a specific ticket in Freshdesk.

Delete Time Entry

Tool to permanently delete a time entry from Freshdesk.

Export Contacts

Tool to initiate an asynchronous export of contacts from Freshdesk to CSV file.

Get Account

Tool to view Freshdesk account information.

Get Agent

Tool to retrieve detailed information about a specific agent by ID.

Get Agent Availability

Tool to retrieve availability information for a specific agent.

Search Agents Autocomplete

Tool to search for agents using autocomplete functionality in Freshdesk.

Get Business Hours

Retrieve Freshdesk business hours configurations, including available schedules, time zones, and default indicators.

Get Canned Response Folder

Retrieve one canned response folder and its response summaries.

Get Canned Response Folders

Tool to retrieve all canned response folders from Freshdesk.

Get Companies

Tool to retrieve all companies from a Freshdesk account with pagination support.

Get Company

Tool to retrieve detailed information about a specific company by ID.

Get Company Fields

Tool to retrieve all company fields configured in Freshdesk.

Get Contact

Tool to retrieve detailed information about a specific contact by ID.

Get Contact Fields

Tool to retrieve all contact fields configured in Freshdesk.

Get Contacts

Tool to retrieve all contacts from a Freshdesk account.

Get Discussion Category

Tool to view details of a specific forum category in Freshdesk.

View Discussion Topic

Tool to retrieve detailed information about a specific discussion topic by ID.

Get Email Mailbox

Tool to retrieve detailed information about a specific email mailbox by ID.

Get Folder Responses

Tool to retrieve all canned responses within a specific folder in Freshdesk.

Get Imported Contacts

Tool to retrieve details of all contact import operations in Freshdesk.

Get Job

Tool to view the status of a bulk job operation.

List All Scenario Automations

List scenario-based automations in the Freshdesk account and retrieve their configurations.

Filter Tickets

Tool to search and filter tickets in Freshdesk using flexible query syntax.

Get Tickets

Retrieves a list of tickets from Freshdesk.

Get Ticket Time Entries

Retrieve a page of time entries for a specific Freshdesk ticket to view its associated time logs.

Get Ticket User Access

Tool to retrieve agent access information for a specific ticket in Freshdesk.

Get Translated Solution Category

Tool to view a translated solution category in Freshdesk.

Hard Delete Contact

Tool to permanently delete a contact from Freshdesk.

Import Contact

Tool to import contacts in bulk from a CSV file to Freshdesk.

List Admin Groups

List a page of Freshdesk admin groups, including available member IDs, escalation settings, and configuration details.

List All Agents in a Group

Tool to retrieve all agents associated with a specific group in Freshdesk.

List All Sections for a Ticket Field

Tool to retrieve all dynamic sections for a specific ticket field in Freshdesk.

List All Skills

Tool to retrieve all skills configured in Freshdesk account.

List All Ticket Conversations

List conversations for a specific Freshdesk ticket, including messages, notes, and replies.

List Automation Rules

Tool to list all automation rules for a specific automation type in Freshdesk.

List All Forum Categories

Tool to retrieve all forum categories (discussions) from Freshdesk.

List All Topics in a Forum

Retrieve discussion topics within a specified Freshdesk forum, with pagination.

List Email Mailboxes

Tool to retrieve all email mailbox configurations from Freshdesk account.

List All Email Configs

Retrieve all email configurations from a Freshdesk account.

List Forums in Category

Tool to retrieve all forums within a specified category in Freshdesk.

List Groups

List one page of standard Freshdesk support groups.

List Monitored Topics

Tool to retrieve all discussion topics that are monitored/followed by a specific user in Freshdesk.

List Participated Topics

Tool to retrieve discussion topics that a user has participated in by creating or commenting.

List All Products

Tool to retrieve all products configured in Freshdesk account.

List All Roles

List Freshdesk roles for agents and collaborators, with pagination and role details.

List Satisfaction Ratings

Tool to retrieve all customer satisfaction survey ratings from Freshdesk.

List All SLA Policies

Tool to retrieve all SLA (Service Level Agreement) policies in Freshdesk.

List Solution Articles

List a page of solution articles in a specified Freshdesk folder.

List Solution Categories

List a page of Freshdesk solution categories.

List Solution Folders

List a page of folders within a specified Freshdesk solution category.

List Translated Category Folders

List a page of translated solution folders in a Freshdesk category for a specified language.

List Solution Subfolders

List a page of subfolders within a specified Freshdesk solution folder.

List a Specific Section Details

Tool to retrieve details of a specific section within a ticket field in Freshdesk.

List All Surveys

List surveys in a Freshdesk account, optionally filtered by active, draft, or paused state.

List All Ticket Fields

Tool to list all ticket fields configured in Freshdesk.

List Ticket Forms

Tool to retrieve all ticket forms from Freshdesk.

List Ticket Satisfaction Ratings

List a page of satisfaction ratings for a specific Freshdesk ticket, including customer feedback and survey responses.

List Ticket Watchers

Tool to list all watchers subscribed to a specific Freshdesk ticket.

List Time Entries

Tool to retrieve all time entries from Freshdesk with optional filtering by company, agent, execution time range, and billable status.

List Topic Comments (Paginated)

Tool to list all comments on a specific discussion topic with pagination support.

List Translated Solution Articles

Lists translated solution articles in a Freshdesk folder for a specified language.

List Translated Subfolders

Lists translated subfolders of a Freshdesk parent folder for a specified language.

Merge Tickets

Irreversibly merge duplicate tickets into one retained primary ticket.

Update Group Agents

Tool to add or remove agents in a Freshdesk group.

Remove Watcher from Ticket

Tool to remove the authenticated user as a watcher from a Freshdesk ticket.

Reply to Forward Ticket

Tool to reply to or forward a ticket to external email addresses.

Reply to Ticket

Create a public reply to an existing Freshdesk support ticket, with plain text or HTML content and optional sender and recipient controls.

Search Agents

Tool to search and filter agents in Freshdesk.

Search Companies

Tool to search and filter companies in Freshdesk using query strings with custom fields.

Search Companies Autocomplete

Search Freshdesk companies by name or partial name using autocomplete to find matching company suggestions.

Search Contacts

Tool to search and filter contacts in Freshdesk using query-based search.

Search Contacts Autocomplete

Tool to search for contacts using autocomplete functionality in Freshdesk.

Search Solution Articles

Tool to search solution articles in Freshdesk knowledge base by keyword.

Toggle Timer

Tool to toggle the timer on a time entry to start or stop time tracking.

Update Admin Group

Tool to update an existing admin-level support agent group in Freshdesk.

Update Admin Ticket Field

Tool to update an existing ticket field configuration in Freshdesk.

Update Admin Ticket Field Section

Tool to update a section within a ticket field in Freshdesk.

Update Agent

Tool to update an existing agent's information in Freshdesk.

Update Agent Availability

Tool to update agent availability settings in Freshdesk.

Update Automation Rule

Tool to update an existing automation rule in Freshdesk.

Update Canned Response

Tool to update an existing canned response in Freshdesk.

Update Canned Response Folder

Updates the name of an existing canned response folder in Freshdesk.

Update Company

Tool to update an existing company's information in Freshdesk.

Update Contact

Tool to update an existing contact's information in Freshdesk.

Update Contact Field

Tool to update a contact field's configuration in Freshdesk.

Make Agent

Tool to convert a contact into an agent in Freshdesk.

Update Conversation

Tool to update the content of a conversation note in Freshdesk.

Update Discussion Category

Tool to update an existing discussion category in Freshdesk forums.

Update Discussion Comment

Tool to update an existing comment in a discussion forum.

Update Discussion Forum

Tool to update an existing discussion forum in Freshdesk.

Update Discussion Topic

Tool to update an existing discussion topic in Freshdesk.

Update Email Settings

Tool to update mailbox settings for email handling in Freshdesk.

Update Automatic BCC Emails

Tool to update automatic BCC email addresses for all ticket communications in Freshdesk.

Update SLA Policy

Tool to update an existing SLA (Service Level Agreement) policy in Freshdesk.

Update Solution Category

Tool to update an existing solution category in Freshdesk.

Update Solution Folder

Tool to update an existing solution folder in Freshdesk knowledge base.

Update Solution Article

Update a Freshdesk solution article by ID, including its title, description, status, tags, or SEO metadata.

Update Ticket

Tool to update an existing ticket in Freshdesk.

Bulk Add Watcher to Tickets

Add the authenticated user as a watcher to multiple Freshdesk tickets in one bulk operation.

Update Ticket Form

Update an existing Freshdesk ticket form's title, description, or field configurations.

Update Ticket Summary

Tool to update the AI-generated summary of a ticket in Freshdesk.

Update Ticket User Access

Tool to update agent access to a specific ticket in Freshdesk by adding or removing agents.

Update Time Entry

Tool to update an existing time entry in Freshdesk.

View a Canned Response

Tool to view details of a specific canned response in Freshdesk.

View Automation Rule

Tool to view details of a specific automation rule in Freshdesk.

View a Business Hour

Tool to retrieve a specific business hour configuration from Freshdesk.

View a Company Field

Tool to retrieve details of a specific company field by ID.

View a Contact Field

Tool to retrieve details of a specific contact field by ID.

View Email Mailbox Settings

Tool to retrieve mailbox settings for the Freshdesk account.

View Email Config

Tool to view details of a specific email configuration in Freshdesk.

View Group

Tool to view details of a specific admin group in Freshdesk.

View Automatic BCC Emails

Tool to view automatic BCC email addresses configured in Freshdesk.

View Product

Tool to retrieve detailed information about a specific product by ID.

View a Role

Tool to view detailed information about a specific role by ID.

View Helpdesk Settings

Tool to retrieve helpdesk settings from Freshdesk.

View a Skill

Tool to retrieve a specific skill from Freshdesk by ID.

View Solution Category

Tool to view a specific solution category by ID in Freshdesk.

View Solution Folder

Tool to view a specific solution folder by ID in Freshdesk.

View Solution Article

Tool to view a specific solution article by ID in Freshdesk.

View Ticket

Views an existing ticket in Freshdesk.

View a Ticket Field

Tool to retrieve a single ticket field configuration from Freshdesk.

View a Ticket Form's Field

Tool to retrieve a specific field from a ticket form in Freshdesk.

FAQ

Frequently asked questions

The Composio Universal CLI is a single command-line interface that lets coding agents and developers interact with 1500+ SaaS applications. It handles authentication, tool discovery, action execution, and trigger setup — all from the terminal, without needing to configure MCP servers.

Any coding agent that can run shell commands works with the Composio CLI — including Claude Code, Codex, OpenCode, OpenClaw, and others. Once the CLI is installed, agents automatically discover and use the composio commands to interact with Freshdesk and other connected apps.

MCP servers require configuration and can be token-heavy for complex workflows. The CLI gives agents a direct, lightweight interface — no server setup needed. Agents simply call composio commands like any other shell tool. It's faster to set up, more reliable for multi-step tool chaining, and works natively with how coding agents already operate.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Freshdesk data and credentials are handled as safely as possible. You can also bring your own OAuth credentials for full control.

Start with Freshdesk.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Freshdesk tool your agent needs.Free to start.

Start building