Connect Freshservice
Freshservice is the IT service management product from Freshworks: a service desk with tickets, problems, changes and releases, an asset and software inventory, a service catalog, a knowledge base,…
Written By Christopher Scaminaci
Last updated About 2 hours ago
Freshservice is the IT service management product from Freshworks: a service desk with tickets, problems, changes and releases, an asset and software inventory, a service catalog, a knowledge base, projects, alerts and on-call schedules. StackJack connects an AI assistant to the Freshservice API (version 2) of your account. Freshservice for Business Teams and Freshservice for MSPs use the same API, and the same connector works for them.
Connecting Freshservice to StackJack gives your AI assistant a family of fs_ MCP tools. MCP (Model Context Protocol) tools are the standardized commands an
AI assistant can call through StackJack. With them, your AI can:
- Work the service desk - tickets with their replies, notes, tasks, time entries, approvals and satisfaction ratings; problems, changes and releases; change advisory boards; and canned responses
- Know the people - requesters, agents, agent groups, requester groups, roles, workspaces, departments, locations and delegation
- Keep the inventory - assets and asset types, IT Asset Management devices, resources, cloud infrastructure and relationships, software and installations, license keys, products, vendors, contracts and purchase orders
- Run the service - the service catalog, solution articles, announcements, onboarding and offboarding requests, journeys, custom objects and status pages
- Respond to incidents - alerts and their logs, on-call schedules and shifts, post-incident reports, SLA policies and business hours
- Manage projects - projects and their tasks, in both the classic and the new project module
How StackJack authenticates to Freshservice
Freshservice is connected with your account's domain and an agent's API key. StackJack sends the key with each request as HTTP Basic authentication
(the key as the user name and X as the password), the method Freshservice documents. There is no sign-in to approve and nothing to refresh.
An API key belongs to one agent. Every call runs as that agent, with that agent's role and the workspaces the agent can reach. A key can do what the agent can do, so treat it like that agent's password, and use an agent whose role allows what you want the AI to do (an administrator for the admin tools, such as agents and groups).
Getting the API key
- Sign in to Freshservice as the agent whose role the AI should use.
- Click the profile picture at the top right, then Profile settings.
- Copy the API key. It is shown below the change password section.
Your domain is the address you sign in to Freshservice at, under freshservice.com, for example acme.freshservice.com.
Connect it in StackJack
- Open Connectors, then Freshservice.
- Enter the Freshservice Domain. The subdomain alone (
acme) is enough;acme.freshservice.comandhttps://acme.freshservice.com/api/v2are also accepted. - Enter the API Key.
- Click Save. StackJack stores the connection and then checks it: it reads one ticket from your account. The read changes nothing.
To check a saved connection again later, use Test on its row.
What is worth knowing before you start
The domain must be under freshservice.com
StackJack sends the key only to your account's own address, https://{your-domain}.freshservice.com. A custom portal domain (for example
support.acme.com) is the sign-in page for your users, not the API address, so StackJack refuses it. Any address that is not one name directly under
freshservice.com is refused too.
Rotating the key
If the agent's key is reset, or the agent is deactivated or deleted, every call fails until you paste a key that works. Paste the new key into StackJack straight away.
Lists and pages
A list page holds at most 100 records (per_page); Freshservice's default is 30. Your AI reads the next page with page (from 1). Freshservice puts the
address of the next page in a response header that the answer does not carry, so your AI reads pages until one holds fewer records than per_page.
Freshservice discourages reading past page 500: use a filter to narrow a large list instead.
A filter's pages hold 30 records whatever per_page says (tickets, project tasks, and the requester, agent and asset lists when a filter is set), so your AI
reads them until a page holds fewer than 30. The alert log list names its next page only in that header: set includePaging to true and the answer is
{items, nextCursor}, and your AI passes nextCursor back as startToken until it is empty.
The filter tools (tickets, alerts, project tasks and others) take a query in Freshservice's filter language, for example "priority:4 AND status:2".
StackJack sends the text exactly as given.
Changing records
Most update tools change only the fields they are sent. Each write takes the request body as one JSON object, sent as given.
22 create and update tools can attach a file: tickets, replies, notes and conversations, service requests and requested items, problems, changes,
releases, contracts, projects, project tasks and their notes, solution articles and major incident emails. Give the file's name and its content as base64,
or a link StackJack downloads it from (up to 25 MB), and the tool sends Freshservice's multipart form, one file per call. Without a file the tool sends the
JSON form as before. On the service request tools, the file goes into the custom field you name in attachmentField, and the request's other custom fields
travel beside it, each as text (a field that holds a list or an object cannot travel with a file). StackJack checks the request before it reads the file, so
a request it refuses never uses up an upload link. The file and its link are kept out of saved fixtures. Two tools download a file: an attachment of a ticket, problem, change, release, solution article or asset, and an attachment of a purchase
order or contract. StackJack stores the file and answers a temporary download link with the file's name, type and size; files over 50 MB are refused.
Changes that ask for approval
Deleting anything, replies and notes that reach a requester or notify addresses, approvals and their reminders, announcements, status page updates, emails and meetings for a major incident, changing agents, groups, CAB members or requester access, moving a record to another workspace, on-call changes, custom field changes and bulk changes are marked as changes that need approval before an agent can run them.
Secrets in answers
A few Freshservice answers carry a secret beside the record: the text of a license key (license keys, software installations and contracts), and the
meeting password of a major incident communication. StackJack removes those fields from the answer unless you set includeSecrets to true on the tool.
On the major incident communication tools it also removes the meeting's join address and the attachment addresses, because they open the meeting or the
files; includeSecrets brings them back, in the conversation only: with includeSecrets, those answers are never saved as a download link, even when you
ask for one with resultAsLink.
Answers that carry an attachment download address, a meeting join address or a calendar subscription link are kept out of saved fixtures and large-result
files.
Rate limits
Freshservice limits API calls per account per minute, by plan: Starter 100, Growth 200, Pro 400 and Enterprise 500. Some lists have lower limits (on Starter, 40 a minute for the ticket, asset, agent and requester lists). Every integration of the account shares the limit. StackJack paces each connection at 100 calls a minute, the lowest plan's limit, and backs off when Freshservice asks it to slow down.
When Freshservice refuses a call
- 401 (
invalid_credentials): the key is wrong, was reset, or the agent it belongs to was deactivated or deleted. Copy the key again from Profile settings and paste it into StackJack. - 401 or 403 that names a permission (
access_denied,require_feature): the key was accepted and this call was refused. The agent's role does not allow the call, or the feature is not enabled on the account. Read the message Freshservice returned. - 403
account_suspended: the account itself is not active. - An item is not found (404): check the id against the matching list tool. If every call answers 404, check the domain.
- A value is rejected (400): the answer names the field and the reason.
- A conflict (409): the record is in a conflicting state for this change.
- The limit is spent (429): StackJack backs off. Wait a minute and try again.
- An outage (5xx): wait and try again. A create can succeed even when Freshservice answers with an error, so read the record before you repeat a create.
Plans and limits
Reads are available on the Free tier, and so are the two reads that are sent as a POST (filtering journey requests and listing the audit log). The two attachment downloads are Pro. Every change is Pro, and so is the one read that emails an on-call calendar to a person. Business reaches the same tools as Pro and differs by monthly call quota.
See the generated Freshservice tool reference for the current inventory, plan assignment, input schemas and destructive-action labels.
Freshservice tools
fs_ · 520 tools · Free 224 · Pro 296
Tickets
Conversations
Problems
Changes
Releases
CABs
Workspace/Client
Approvals
Requesters/Contacts
Users (Agents)
Agent Roles
Agent Groups
Requester Groups/Contact Groups
Locations
Products
Vendors
Alerts
Assets
Assets (Freshservice ITAM)
Purchase Order
Asset Types
Software
Software models
Software installations
Software lifecycle
Contracts
Departments
Business Hours
Maintenance Windows
Projects
Project Tasks
Projects NewGen
Project Tasks NewGen
Solution Category
Solution Folder
Solution Article
Service Catalog
Announcements
Employee Onboarding
Employee Offboarding
Journeys
Oncall management
Custom Objects
Post Incident Reports
SLA Policies
Canned Responses
Audit Logs
Attachment
Collaborate
Status page
Delegation
Physical subtypes
Devices
Resources
Resource relationships
Cloud infrastructure
Lifecycle events
Was this helpful?
More in Connector guides
Connect 3CXConnect AbleSignConnect Acronis Cyber Protect CloudConnect Action1Still need help? Ask the team