Freshservice Ticketing System Integration Setup
Set up the AutoElevate Freshservice ticketing integration with a least-privilege API agent, map statuses, and choose a default Category, Sub-category and Item for new tickets.
Table of Contents
Overview
AutoElevate's native Freshservice integration connects to your Freshservice account with an API key. In Freshservice, an API key always acts as the agent it belongs to — the key can do exactly what that agent can do, and nothing more. The way to keep this integration least-privilege is to create a dedicated integration agent with a custom role scoped to only what the integration actually needs.
This article lists every Freshservice API call the integration makes, the permission each one needs, and why. In short: the integration only needs to read a little configuration when you set it up, and create and update tickets while it runs. It does not need Administrator or Account Admin rights.
Prerequisites
- Administrator access to Freshservice — but only once, to create the dedicated agent, its role, and its API key. The integration itself never uses your admin login.
- Administrative access to the AutoElevate Admin Portal to enter the Freshservice subdomain and API key.
- A full-time agent seat for the integration agent (requester / contact accounts cannot use the ticket APIs).
Required permissions
Every operation below, in the order the integration performs it. Phase tells you whether the permission is needed only while you configure the integration (Setup) or every time it runs (Runtime).
| # | Operation | Freshservice endpoint | Object | R/W | Required capability | Phase |
|---|---|---|---|---|---|---|
| 1 | Verify the API key | GET /api/v2/agents/me |
Agents (self) | Read | Any valid agent API key | Setup |
| 2 | Load selectable statuses, ticket types, and categories | GET /api/v2/ticket_form_fields |
Ticket form fields | Read | Read ticket form fields (see note) | Setup |
| 3 | Load selectable groups | GET /api/v2/groups?per_page=100 |
Agent groups | Read | Read groups (see note) | Setup |
| 4 | Offer priorities | none — built-in list | — | — | None (no API call) | Setup |
| 5 | Offer sources | none — built-in list | — | — | None (no API call) | Setup |
| 6 | Create an elevation / elevated-session ticket | POST /api/v2/tickets |
Tickets | Write | Create ticket | Runtime |
| 7 | Update ticket status on approve / deny / complete | PUT /api/v2/tickets/{id} |
Tickets | Write | Edit ticket | Runtime |
| 8 | Add a private note to a ticket | POST /api/v2/tickets/{id}/notes |
Ticket conversations | Write | Edit ticket / add note | Runtime |
Note on the setup reads (#2 and #3)
These are only used while an admin is configuring the integration in the AutoElevate portal — they populate the Status, Ticket Type, Group, and Category dropdowns. Depending on your Freshservice plan and role configuration, reading groups (and, on some accounts, ticket form fields) can require an agent with administrative / config-read access. Because these calls happen only at setup, you have a clean least-privilege option: grant the config-read capability, complete setup, then remove it — the running integration never calls them again. Confirm this against your own account (see Verification); it is the one place the required privilege can vary between accounts.
Permission details
-
Verify the API key (
GET /agents/me): right after you paste the subdomain and API key, AutoElevate calls this to confirm the key is valid and belongs to a real agent. It reads nothing but the agent's own identity. -
Load statuses and ticket types (
GET /ticket_form_fields): so you can map AutoElevate outcomes (new, approved, denied, completed) to your Freshservice statuses and pick which ticket type new tickets use, the portal reads your ticket form field definitions. AutoElevate only offers the three ticket types Freshservice accepts on creation — Incident, Service Request, Major Incident — and hides the system "Assigned to AI Agent" status, which Freshservice refuses on update. The same response also holds your Category, Sub-category, and Item choices, so the optional Category pickers need no extra permission and no extra API call. -
Load groups (
GET /groups): lets you choose a default assignment group for created tickets. Optional — if you do not assign a default group, the integration simply omits it. - Priorities and sources: no permission needed — AutoElevate ships the standard Freshservice priority list (Low / Medium / High / Urgent) and source list, so no API call is made.
-
Create tickets (
POST /tickets): the core runtime action — every elevation request or elevated session becomes a ticket. This is the one write capability the integration cannot work without. -
Update tickets (
PUT /tickets/{id}): when a technician approves, denies, or completes a request in AutoElevate, the matching Freshservice ticket's status is updated. On outcomes that resolve or close the ticket, AutoElevate also writes a resolution note (Freshservice requires one to close). -
Add a private note (
POST /tickets/{id}/notes): progress and outcome detail is added as a private note (internal-only), so it never emails the requester.
Requester behavior
Freshservice requires a requester on every ticket (an email or requester_id). AutoElevate elevation events have no real requester mailbox, so the integration synthesizes a stable, non-routable address of the form user@no-reply.company.local. The .local TLD is reserved and never resolves, so these addresses can never receive mail.
Expected side effect
Freshservice auto-creates a requester / contact for any email it has not seen, so expect synthetic requester records to appear in your directory over time. This is expected, not a misconfiguration — entity linking (matching to real users / assets) is intentionally out of scope for this first release.
Company, location, computer, and user linking
No linking is required for Freshservice. Once the integration is configured (credentials saved and statuses mapped), tickets are generated automatically for elevation requests and elevated sessions. Unlike some of our other ticketing integrations (such as ServiceNow), AutoElevate companies, locations, computers, and users do not need to be linked to Freshservice records.
For context: this integration uses auto-created synthetic requesters (user@no-reply.company.local), so tickets are not attributed to a Freshservice company or requester group in this release. Company, computer, and user details are included as text in the ticket subject, description, and private notes.
Step-by-step: create the least-privilege agent
- In Freshservice, go to Admin → User Management → Agents and create a new full-time agent (e.g. "AutoElevate Integration").
- Under Admin → Roles, create a custom role — for example "AutoElevate — Tickets". Grant it:
- Tickets: Create, and Edit / Reply / Add note.
- The minimum Groups / ticket-fields read needed for the setup dropdowns (see the note above; you may remove this after setup).
- Nothing else — no admin, no account settings, no automations.
- Set the role's scope so the agent can act on the tickets it creates. If created tickets should be visible / editable regardless of group, use a Global scope; otherwise a Group scope that includes your chosen default group is enough.
- Assign that custom role (and only that role) to the integration agent.
- In the agent’s settings, make sure API Key access is enabled — on Freshworks agent profiles this toggle can be off by default, and without it the agent has no API key at all.
- Log in as (or impersonate) that agent, open Profile settings, and copy its API key.
- In the AutoElevate Admin Portal, open the Freshservice ticketing setup, enter your
*.freshservice.comsubdomain and paste the API key, then save. The portal verifies the key and loads your statuses, ticket types, groups, and categories.
What you do NOT need to grant
- Not Account Admin or Administrator. The integration never touches account settings, billing, automations, or admin configuration at runtime.
- Not delete permissions on tickets — the integration never deletes.
- Not asset / CMDB, department, or requester-management permissions — no entity linking in this release.
- Not write access to ticket fields, workflows, or automators — it only reads field options at setup.
AutoElevate Admin Portal setup
With the Freshservice agent and API key ready, configure the integration in the AutoElevate Admin Portal:
- Log in to the AutoElevate Admin Portal and go to Settings.
- On the Settings page, click Set up ticketing system (or Edit FreshService setup if Freshservice is already set up).
- Under Type, select FreshService.
-
Step 1 — Host & API Credentials: enter your Freshservice subdomain (e.g.
acmecorp.freshservice.com) and the integration agent’s API key, then click SAVE CREDENTIALS. A successful save verifies the key and loads your statuses, ticket types, groups, and categories. -
Step 2 — Default Group, Type, Priority, Source & Category (optional): choose a default assignment group, the ticket type new tickets should use (Incident, Service Request, or Major Incident), a default priority, and a default source.
- Default Category (optional): pick the Freshservice Category that new tickets get. The list is read from your own Freshservice account. Pick one if your Freshservice account requires Category when a ticket is submitted. On a Freshservice account with several workspaces, AutoElevate doesn't choose a workspace: Freshservice creates its tickets in your primary workspace, so pick a Category that exists there.
- Default Sub-category (optional) shows only after you pick a Category that has sub-categories. Default Item (optional) shows only after you pick a Sub-category that has items. If your account does not use these levels, you see only the Category picker.
- Changing the Category clears the Sub-category and Item. Changing the Sub-category clears the Item.
- If your Freshservice account has no Category field, no Category picker shows.
- Leave Category blank to send no category. Tickets are then created exactly as before this option existed.
- If you renamed the Sub-category or Item levels in Freshservice, AutoElevate still shows the standard names Sub-category and Item.
- AutoElevate does not set any other Freshservice custom field on the tickets it creates, so other custom fields must not be marked as required when submitting a ticket — see Troubleshooting. AutoElevate sends only the category fields you pick: the Category, plus the Sub-category and Item if you choose them. If your Freshservice form also requires Sub-category or Item, pick them in setup too.
- Step 3 — Status Mapping: map each AutoElevate outcome (new, approved, denied, completed) to the Freshservice status it should set.
- Click SAVE. From this point, elevation requests and elevated sessions generate Freshservice tickets automatically — no additional linking is required.
Step 2, with the Category, Sub-category and Item pickers:

If you rename or delete a category in Freshservice
AutoElevate saves the Category, Sub-category, and Item by name. If you later rename or delete the chosen category in Freshservice, Freshservice rejects new AutoElevate tickets (status code 400) until you reopen the AutoElevate ticketing setup and save it again. When you open the setup, AutoElevate checks the saved choices against your Freshservice account and clears any choice that no longer exists. Pick the new value and click SAVE.
Verification
- Save credentials in the portal — a verified result means
GET /agents/mesucceeded (permission #1). - The Status, Ticket Type, and Group dropdowns populate (and the Category dropdown, if your account has a Category field) — this confirms the setup reads (#2 and #3) work under the role you built. If they are empty or error, the role needs the config-read capability described above.
- Trigger a test elevation and confirm a ticket is created in Freshservice (#6), then approve / deny it in AutoElevate and confirm the ticket's status updates and a private note appears (#7 and #8). If you chose a Default Category, confirm the new ticket has that Category (and Sub-category and Item, if chosen).
Troubleshooting
| Symptom | Most likely cause | Fix |
|---|---|---|
| "Invalid API key" on save | Key wrong, or belongs to a deactivated / requester account | Re-copy the key from the integration agent's profile; ensure it is a full-time agent. |
| Save verifies, but Status / Ticket Type / Group dropdowns are empty | Role lacks the setup config-read capability | Temporarily grant groups / ticket-fields read, reload, then optionally remove. |
| Tickets are not created at runtime | Role missing Create ticket, or scope excludes the target group | Add Create-ticket; widen scope to cover the default group. |
Ticket Creation Failure with status code 400, "Validation failed", and "field":"category" ... "It should be one of these values: ..." ... "code":"invalid_value"
|
The Freshservice Category field is set as required when an agent submits a ticket, and no Default Category is set in AutoElevate — or the saved category was renamed or deleted in Freshservice. | In the AutoElevate Admin Portal, open the ticketing setup, go to Step 2, choose a Default Category (and a Sub-category and Item if your account requires them), then click SAVE. If you prefer not to set a category in AutoElevate, change the setting in Freshservice instead: In Freshservice, go to Admin → Global Settings → Service Management → Field Manager → Ticket Fields (or Admin → Workspace Settings → [workspace] → Service Management → Field Manager on multi-workspace accounts), open Category, and uncheck Required when submitting the form for agents. Required when closing the ticket can stay on. If tickets still fail, check Admin → Service Management → Service Desk Settings → Business Rules for Forms for a rule that makes Category mandatory with Enforce System-Wide enabled — that option applies the rule to API requests; disable it or exclude tickets created by the integration agent. |
Ticket Creation Failure with status code 400 and "Validation failed" for a field other than category
|
Another Freshservice dropdown or custom field is set as required when an agent submits a ticket. AutoElevate sets only the fields in Step 2. | In Freshservice, uncheck Required when submitting the form for that field (same Field Manager and Business Rules for Forms paths as above). To fill it on AutoElevate tickets, create a Workflow Automator that runs on ticket creation with the condition Subject contains UAC Authorization Requested and an action that sets the field; it runs after creation, so it does not conflict with the API validation. |
| Step 2 shows "Could not load categories from FreshService. Any saved category is kept and still sent on new tickets." and a Retry button | AutoElevate could not read the category list from Freshservice. The rest of the setup still works. | Click Retry. If it still fails, check the role's ticket-fields read (see the note on setup reads). You can still click SAVE; the saved category is kept and still sent on new tickets. |
| Step 2 shows "…The saved category was cleared because the FreshService credentials changed; retry to pick one for this account." | You changed the Freshservice credentials and the category list could not be loaded. The old category may belong to a different Freshservice account, so AutoElevate cleared it. | Click Retry, pick a category for this account, and click SAVE. If you save without one, new tickets are sent with no category. |
| When you reopen setup, the saved Category, Sub-category, or Item shows Choose one... | That value no longer exists in your Freshservice account (renamed or deleted). | Pick the current value and click SAVE. |
| Status will not update / cannot close ticket | Role missing Edit ticket, or a required close field / workflow is blocking | Add Edit-ticket; ensure the mapped closed / resolved status matches a real Freshservice status. |
| Unexpected new contacts in the directory | Expected — synthetic requesters from @no-reply.*.local
|
No action; see Requester behavior. |