How do I find my Freshdesk API key (and use it safely)?

How do I find my Freshdesk API key (and use it safely)?

🎯 Goal: Locate your Freshdesk API key and copy it safely for use in integrations (e.g., MyOperator), then validate it works.

📚 Table of contents


🧭 When & why to use this

  • Connect Freshdesk to other tools (telephony, bots, reporting) that authenticate via API key.
  • Test API access from your machine before handing off to automation.

image (1).png

🔝 Back to top


📋 Prerequisites

  • ✅ You can sign in to your Freshdesk helpdesk (agent or admin account).
  • ✅ Your organization allows API access (most plans do; confirm with your admin if unsure).

🔝 Back to top


Quick answer (copy‑paste steps)

1) Log in to Freshdesk (https://<yourdomain>.freshdesk.com)2) Click your profile avatar (top-right) → Profile Settings3) Find the “Your API Key” section → Click to reveal/copy4) Store it securely (password manager); treat it like a password
🔐 Your API key is unique per user. If you rotate it, integrations using your key must be updated.

🔝 Back to top


🪜 Step‑by‑step (Mint UI vs. Classic)

Mint UI (most accounts)

  1. Sign in to your Freshdesk portal: https://<yourdomain>.freshdesk.com
  2. Click your avatar (top‑right)Profile Settings
  3. On your profile page, locate Your API Key on the right
  4. Click Show (if hidden) → Copy

Classic UI (older accounts)

  1. Avatar (top‑right) → Your Profile
  2. Find API Key panel → ShowCopy
📱 Mobile: Use a desktop browser for this action; key visibility may be limited on mobile.

🔝 Back to top


✅ Validate your API key

Run a simple read‑only request (replace placeholders):

# Example: list 1 ticket to confirm the key workscurl -u <YOUR_API_KEY>:X \  "https://<yourdomain>.freshdesk.com/api/v2/tickets?per_page=1"

Success looks like: HTTP 200 with JSON (an array of tickets or []). If you see 401 Unauthorized, recheck the domain and key.

ℹ️ Freshdesk uses Basic Auth with the API key as the username and any single character (commonly X) as the password.

🔝 Back to top


🛠️ Troubleshooting

Can’t see the API key

  • Ensure you’re viewing your own profile (not another user’s page)
  • Ask an admin if API access is restricted by policy/plan

401 Unauthorized

  • Wrong domain (e.g., custom domain vs. <yourdomain>.freshdesk.com)
  • Key has been rotated; copy the new key and update integrations
  • Extra spaces or hidden characters when pasting — try a plain‑text paste

SSO users

  • SSO does not remove the API key, but some orgs disable API usage; confirm with your admin

🔝 Back to top


⚖️ Edge cases & limitations

  • Per‑user keys: Each agent has their own key; use a service account for automations where possible
  • Rate limits: Large exports or syncs may hit API limits; stagger your requests
  • Sandbox vs. production: Keys are workspace‑specific; ensure you’re in the right portal

🔝 Back to top


🔒 Security & rotation best practices

  • Treat the API key like a password; store it in a password manager
  • Rotate the key if it was ever shared in chat or email
  • After rotation, update all integrations that relied on the old key
  • Prefer least privilege: use a dedicated automation user where feasible

🔝 Back to top


🔗 Use with MyOperator (example)

When asked for your Freshdesk credentials in MyOperator (or any connector):

  • Domain: https://<yourdomain>.freshdesk.com
  • API Key: paste your copied key
For a quick health check, run the Validate curl above with your domain.

🔝 Back to top


❓ FAQ

Q: Can I regenerate (rotate) my API key?
A: Yes — on your Profile Settings page, use Regenerate (or similar). Update any tools using the old key.

Q: Do admins see other users’ keys?
A: No. Keys are visible only on each user’s own profile page.

Q: Is OAuth available instead?
A: Some Freshworks products support OAuth apps; however, most simple scripts/integrations still use the per‑user API key.

🔝 Back to top


🔗 Related articles

  • Use your Freshdesk API key in MyOperator/kb/integrations/myoperator-freshdesk-api
  • Rotate or revoke your Freshdesk API key/kb/freshdesk/rotate-api-key
  • Troubleshoot Freshdesk 401/403 errors/kb/freshdesk/api-auth-errors

🔝 Back to top


🧱 Structured data (HowTo + FAQPage)

<script type="application/ld+json">{  "@context": "https://schema.org",  "@type": "HowTo",  "name": "Find your Freshdesk API key",  "totalTime": "PT5M",  "step": [    {"@type": "HowToStep", "name": "Open Profile Settings", "text": "Click your avatar (top-right) → Profile Settings.", "url": "#steps"},    {"@type": "HowToStep", "name": "Reveal API key", "text": "On your profile page, locate ‘Your API Key’ and click Show.", "url": "#steps"},    {"@type": "HowToStep", "name": "Copy & store securely", "text": "Copy the key and save it in a password manager.", "url": "#security"},    {"@type": "HowToStep", "name": "Validate access", "text": "Run a curl request using Basic Auth with the key as the username.", "url": "#validate"}  ],  "tool": [{"@type": "HowToTool", "name": "Freshdesk"}],  "image": {    "@type": "ImageObject",    "url": "./images/freshdesk-profile-settings.png",    "caption": "Open Profile Settings from the avatar menu."  }}</script><script type="application/ld+json">{  "@context": "https://schema.org",  "@type": "FAQPage",  "mainEntity": [    {"@type": "Question", "name": "Can I regenerate my API key?", "acceptedAnswer": {"@type": "Answer", "text": "Yes. Use Regenerate on your profile page, then update all integrations."}},    {"@type": "Question", "name": "Do admins see other users’ keys?", "acceptedAnswer": {"@type": "Answer", "text": "No. Keys are visible only to the user on their own profile page."}},    {"@type": "Question", "name": "How do I validate the key?", "acceptedAnswer": {"@type": "Answer", "text": "Run a curl with Basic Auth: curl -u <YOUR_API_KEY>:X https://<yourdomain>.freshdesk.com/api/v2/tickets?per_page=1"}}  ]}</script>

🔝 Back to top

    • Related Articles

    • What filters can I use in the MyOperator ↔ Freshdesk integration and how do I configure them?

      ⚡Quick answer - You can control which calls become Freshdesk tickets (and how) with four filters: Ticket Type, Event Type, Call Status, and Department. Each filter has three options, and all can be combined for precise routing. When should I use this ...
    • How do I find my API key?

      To find your API key, follow the steps mentioned below: 1. Login to Freshdesk. 2. Click on the “Logo” at the top right. 3. Click on “Profile Settings”. 4.Your “API Key” is on the bottom left of the page.
    • What is Freshdesk and what is the benefit of integrating MyOperator with Freshdesk?

      Overview Freshdesk is a cloud-based customer support platform that enables companies of all sizes to improve their customer services. MyOperator and Freshdesk integration When you integrate Freshdesk with MyOperator, all your MyOperator logs get ...
    • How to Troubleshoot Freshdesk Integration Issues

      Frequently Asked Questions (FAQ) ? Table of Contents How Do I Ensure My Freshdesk Integration is Set Up Correctly? What Should I Do If My Credentials Are Incorrect? How Do I Verify the Webhook Setup? How Do I Ensure My Agents Are Synced Between ...
    • How Are Tickets Assigned in Freshdesk?

      ? Table of Contents How Does Ticket Assignment Work in Freshdesk? What Are the Methods for Assigning Tickets? How Are Tickets Assigned Based on the Agent's Availability? What Is the Role of the "Agent Email Match" in Ticket Assignment? How to Sync ...