Freshdesk

Manage Freshdesk support — tickets, contacts, and agents via the REST API.

thinkfleetai 315fd29 1.0 KB Updated

File contents

Freshdesk

Manage support tickets, contacts, and agents.

Environment Variables

  • FRESHDESK_DOMAIN - Domain (e.g. mycompany for mycompany.freshdesk.com)
  • FRESHDESK_API_KEY - API key

List tickets

curl -s -u "$FRESHDESK_API_KEY:X" \
  "https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets?per_page=10" | jq '.[] | {id, subject, status, priority}'

Create ticket

curl -s -X POST -u "$FRESHDESK_API_KEY:X" \
  -H "Content-Type: application/json" \
  "https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/tickets" \
  -d '{"subject":"Issue","description":"Details here","email":"user@example.com","priority":2,"status":2}' | jq '{id, subject}'

List contacts

curl -s -u "$FRESHDESK_API_KEY:X" \
  "https://$FRESHDESK_DOMAIN.freshdesk.com/api/v2/contacts?per_page=10" | jq '.[] | {id, name, email}'

Notes

  • Always confirm before creating or updating tickets.

thinkfleetai/thinkfleet-engine/tree/main/skills/freshdesk commit 315fd29eba

Frequently asked questions

npx skillmds@latest add thinkfleetai/freshdesk