freshdesk-api
БесплатноБез исполняемых скриптовНе проверенExpert in Freshdesk helpdesk API for building integrations, extracting support data, managing tickets/contacts/companies, and automating support workflows…
Об этом скилле
Freshdesk API
Overview
Build integrations with Freshdesk's helpdesk platform using their REST API v2. Manage support tickets, contacts, companies, agents, and automate workflows. The API supports full CRUD operations on all major resources with filtering, pagination, and embedded data.
When to Use
- Building helpdesk integrations or support dashboards
- Extracting and analyzing support ticket data
- Automating ticket routing, assignment, or updates
- Syncing contacts/companies with CRM systems
- Creating custom reporting on support metrics
- Implementing chatbots or AI-powered support tools
- Migrating data to/from Freshdesk
Prerequisites
API Key Setup
- Log into Freshdesk as an Admin
- Click your profile picture → Profile Settings
- Find your API Key on the right sidebar
- Store securely (never commit to version control)
# Set environment variable
export FRESHDESK_API_KEY="your-api-key-here"
export FRESHDESK_DOMAIN="yourcompany" # From yourcompany.freshdesk.com
Required Tools
curlfor HTTP requestsjqfor JSON parsing (brew install jqon macOS)- For SDKs: Python 3.6+, Node.js 14+, or Ruby 2.7+
API Base URL
https://{domain}.freshdesk.com/api/v2/
Replace {domain} with your Freshdesk subdomain (e.g., acme for acme.freshdesk.com).
Authentication
Freshdesk uses HTTP Basic Authentication with your API key as the username and X as the password.
curl Example
# Using -u flag (username:password)
curl -u "$FRESHDESK_API_KEY:X" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets"
# Using Authorization header
curl -H "Authorization: Basic $(echo -n "$FRESHDESK_API_KEY:X" | base64)" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets"
Headers
Always include:
Content-Type: application/json
Quick Start
Get All Tickets
curl -u "$FRESHDESK_API_KEY:X" \
-H "Content-Type: application/json" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets"
Create a Ticket
curl -u "$FRESHDESK_API_KEY:X" \
-H "Content-Type: application/json" \
-X POST \
-d '{
"subject": "Support needed",
"description": "Details of the issue...",
"email": "[email protected]",
"priority": 2,
"status": 2
}' \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets"
Get a Contact
curl -u "$FRESHDESK_API_KEY:X" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/contacts/12345"
Search Tickets
# Search by status and priority
curl -u "$FRESHDESK_API_KEY:X" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/search/tickets?query=\"status:2 AND priority:3\""
Core Endpoints
| Endpoint | Description |
|---|---|
/tickets |
Create, list, update, delete tickets |
/contacts |
Manage customer contacts |
/companies |
Manage company/organization records |
/agents |
View and manage support agents |
/groups |
Manage agent groups |
/conversations |
Ticket replies, notes, forwards |
/time_entries |
Time tracking on tickets |
/surveys/satisfaction_ratings |
Customer satisfaction data |
/products |
Product catalog management |
/business_hours |
Business hours configuration |
/email_configs |
Email settings |
/sla_policies |
SLA policy management |
/canned_responses |
Pre-defined response templates |
/ticket_fields |
Custom ticket fields |
See references/tickets-api.md for detailed ticket operations. See references/contacts-companies.md for contact/company management.
Rate Limits
Limits by API Version
| Version | Limit |
|---|---|
| API v1 | 1000 calls/hour |
| API v2 | Per-minute, plan-based |
| Trial Plans | 50 calls/minute |
Rate Limit Headers
Every response includes:
| Header | Description |
|---|---|
X-Ratelimit-Total |
Total calls allowed per minute |
X-Ratelimit-Remaining |
Calls remaining this minute |
X-Ratelimit-Used-CurrentRequest |
Credits used by this request |
Handling Rate Limits
#!/usr/bin/env bash
# Retry with exponential backoff for 429 errors
max_retries=3
retry_count=0
while [ "$retry_count" -lt "$max_retries" ]; do
response=$(curl -s -w "\n%{http_code}" -u "$FRESHDESK_API_KEY:X" \
"https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets")
http_code=$(echo "$response" | tail -1)
body=$(echo "$response" | sed '$d')
if [ "$http_code" = "200" ]; then
echo "$body"
exit 0
elif [ "$http_code" = "429" ]; then
delay=$((2 ** retry_count))
echo "Rate limited. Retrying in ${delay}s..." >&2
sleep "$delay"
retry_count=$((retry_count + 1))
else
echo "Error: HTTP $http_code" >&2
echo "$body" >&2
exit 1
fi
done
echo "Max retries exceeded" >&2
exit 1
Credit System
Some operations consume multiple API credits:
- Basic request: 1 credit
- Including em
Установить freshdesk-api в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл freshdesk-api?
Expert in Freshdesk helpdesk API for building integrations, extracting support data, managing tickets/contacts/companies, and automating support workflows. Use when working with Freshdesk, building helpdesk integrations, analyzing support ticket data, or creating customer support applications.
Как установить скилл freshdesk-api?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл freshdesk-api запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic