freshdesk-mcp
v2.0.0MCP server for Freshdesk (TypeScript) — supports stdio and Streamable HTTP transports
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_ticket_fields
List every ticket field (system + custom) with its name, label, type and allowed choices. Call this before create/update/search when you need the API name of a custom field (e.g. 'cf_order_id') or valid dropdown values.
get_tickets
List tickets, newest first by default. Without filters Freshdesk only returns tickets created in the last 30 days (use updated_since for older ones) and caps results at 300 pages. Deleted/spam tickets are excluded unless filter='deleted'/'spam'. For field-based queries (status, priority, tags, custom fields, date ranges) prefer search_tickets. Returns { tickets, pagination }.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Only tickets for this company ID. |
email | string | Only tickets from this requester email. |
filter | string | Predefined view. |
include | string | Comma-separated embeds: 'stats' (closed/resolved/first_responded times), 'requester', 'description'. Each costs 2 extra API credits. |
order_by | string | Sort field (default created_at). |
order_type | string | Sort direction (default desc). |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
requester_id | integer | Only tickets from this contact ID. |
unique_external_id | string | Only tickets from the requester with this unique_external_id. |
updated_since | string | ISO-8601 UTC timestamp, e.g. '2025-01-19T02:00:00Z'. |
get_ticket
Get one ticket by ID. The description and conversations are not always included by default; use include to embed them.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
include | string | Comma-separated embeds: 'conversations' (first 10, +2 credits), 'requester', 'company', 'stats'. |
create_ticket
Create a ticket. Required: a requester identifier (email | requester_id | phone | twitter_id | facebook_id | unique_external_id) and subject/description. Common fields: subject, description (HTML), status, priority, source, type, group_id, responder_id, company_id, product_id, email_config_id, internal_agent_id, internal_group_id, tags[], cc_emails[], custom_fields{cf_*}, due_by, fr_due_by, lookup_parameter, parent_id (create as child), related_ticket_ids[] (create as tracker). status: 2=Open 3=Pending 4=Resolved 5=Closed; priority: 1=Low 2=Medium 3=High 4=Urgent; source: 1=Email 2=Portal 3=Ph…
| Parameter | Type | Description |
|---|---|---|
ticket * | object | Ticket payload as a JSON object. |
update_ticket
Partially update a ticket — only the keys you send change (status, priority, responder_id, group_id, tags, custom_fields, ...). status: 2=Open 3=Pending 4=Resolved 5=Closed; priority: 1=Low 2=Medium 3=High 4=Urgent; source: 1=Email 2=Portal 3=Phone 7=Chat 9=Feedback widget 10=Outbound email. Setting tags replaces the whole tag list. To change internal_agent_id/internal_group_id you must also send status.
| Parameter | Type | Description |
|---|---|---|
ticket * | object | Fields to change. |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
delete_ticket
Move a ticket to Trash (soft delete). Reversible with restore_ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
restore_ticket
Restore a soft-deleted ticket from Trash.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
search_tickets
Filter tickets with Freshdesk query language. Syntax: field:value joined by AND/OR with parentheses; strings in single quotes; numeric/date ranges with :> and :< ; null for empty. Fields: agent_id, group_id, priority, status, tag, type, due_by, fr_due_by, created_at, updated_at, closed_at (dates as 'YYYY-MM-DD'), plus custom fields by name (without cf_ prefix). Example: "status:2 AND priority:>3 AND tag:'vip'". Max 512 chars, 30 results/page, max 10 pages. Archived tickets excluded; index lags a few minutes. Returns { results, total }.
| Parameter | Type | Description |
|---|---|---|
query * | string | Query without the surrounding double quotes (they're added automatically). |
page | integer | Result page 1-10. |
get_ticket_conversation
List replies and notes on a ticket, oldest first (body, private flag, from/to emails, attachments). By default fetches every page so the full thread is returned; check 'truncated' in the result. Output: { conversations, total_returned, pages_fetched, truncated, next_page }; with fetch_all=false a single page plus pagination{current_page, next_page, prev_page, per_page}. Read this before drafting a reply so the response fits the thread.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
fetch_all | boolean | Follow pagination until the last page (default true). |
max_pages | integer | Safety cap on pages fetched when fetch_all=true. |
page | integer | First page to fetch. |
per_page | integer | Conversations per page (max 100). |
create_ticket_reply
Send a public reply to the requester (emails them). Payload: body (HTML, required), optional cc_emails[], bcc_emails[], from_email (must be a configured support email), user_id (agent sending). Use create_ticket_note for internal comments. File attachments (multipart) are not supported.
| Parameter | Type | Description |
|---|---|---|
reply * | object | Reply payload, e.g. { body: '<p>Hi…</p>' }. |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
create_ticket_note
Add a note to a ticket. Payload: body (HTML, required), private (default true — internal, not visible to requester), notify_emails[] (agent emails to notify), incoming (true = appears as from the requester), user_id. File attachments (multipart) are not supported.
| Parameter | Type | Description |
|---|---|---|
note * | object | Note payload, e.g. { body: '…', private: true }. |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
update_ticket_conversation
Edit the body of an existing note (replies that were already emailed cannot be changed). Payload: { body }.
| Parameter | Type | Description |
|---|---|---|
conversation * | object | { body: '<new HTML>' } |
conversation_id * | integer | Conversation (note) ID from get_ticket_conversation. |
delete_conversation
Permanently delete a note/reply from a ticket. Irreversible.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | integer | Conversation ID. |
forward_ticket
Forward a ticket by email to third parties. Required: body (HTML), to_emails[]. Optional: body_text, cc_emails[], bcc_emails[], from_email, agent_id, include_quoted_text, include_original_attachments.
| Parameter | Type | Description |
|---|---|---|
forward * | object | Forward payload. |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
reply_to_forward
Reply to a third party on a previously forwarded thread. Required: body (HTML), to_emails[]. Optional: body_text, user_id.
| Parameter | Type | Description |
|---|---|---|
reply * | object | { body, to_emails, body_text?, user_id? } |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
delete_attachment
Permanently delete an attachment (from a ticket, conversation, etc.) by attachment ID. Irreversible.
| Parameter | Type | Description |
|---|---|---|
attachment_id * | integer | Attachment ID (from a ticket/conversation 'attachments' array). |
view_ticket_summary
Get the agent-written/AI summary attached to a ticket, if any.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
update_ticket_summary
Create or replace a ticket's summary.
| Parameter | Type | Description |
|---|---|---|
body * | string | Summary content (HTML allowed). |
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
delete_ticket_summary
Remove a ticket's summary.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
get_field_properties
Get one ticket field definition by API name (e.g. 'status', 'priority', 'type', 'cf_region'), including its choices. Cheaper to reason about than the full get_ticket_fields list.
| Parameter | Type | Description |
|---|---|---|
field_name * | string | Field API name. 'type' is mapped to 'ticket_type'. |
view_ticket_field
Admin: view a ticket field with full configuration (choices, sections, portal settings).
| Parameter | Type | Description |
|---|---|---|
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
create_ticket_field
Admin: create a custom ticket field. Required: label, type ('custom_text' | 'custom_paragraph' | 'custom_checkbox' | 'custom_number' | 'custom_decimal' | 'custom_date' | 'custom_dropdown' | 'nested_field'). Optional: label_for_customers, required_for_agents, required_for_customers, required_for_closure, displayed_to_customers, customers_can_edit, position, choices[], dependent_fields[] (nested_field levels), section_mappings[].
| Parameter | Type | Description |
|---|---|---|
ticket_field * | object | Ticket field payload. |
update_ticket_field
Admin: update a ticket field (label, required flags, position, choices…). Only sent keys change.
| Parameter | Type | Description |
|---|---|---|
ticket_field * | object | Fields to change. |
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
delete_ticket_field
Admin: delete a custom ticket field. Data stored in it becomes inaccessible.
| Parameter | Type | Description |
|---|---|---|
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
list_ticket_field_sections
Admin: list dynamic sections of a dropdown ticket field (sections show extra fields when a given choice is selected).
| Parameter | Type | Description |
|---|---|---|
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
view_ticket_field_section
Admin: view one dynamic section of a ticket field.
| Parameter | Type | Description |
|---|---|---|
section_id * | integer | Section ID. |
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
create_ticket_field_section
Admin: create a dynamic section on a dropdown ticket field.
| Parameter | Type | Description |
|---|---|---|
choice_ids * | array | Dropdown choice IDs of the parent field that reveal this section. |
label * | string | Section name. |
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
update_ticket_field_section
Admin: rename a dynamic section or change which choices reveal it.
| Parameter | Type | Description |
|---|---|---|
section_id * | integer | Section ID. |
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
choice_ids | array | Dropdown choice IDs of the parent field that reveal this section. |
label | string | Section name. |
delete_ticket_field_section
Admin: delete a dynamic section from a ticket field.
| Parameter | Type | Description |
|---|---|---|
section_id * | integer | Section ID. |
ticket_field_id * | integer | Ticket field ID (from get_ticket_fields). |
list_ticket_forms
List ticket forms shown in the customer portal.
view_ticket_form
View a ticket form with its fields.
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Ticket form ID. |
create_ticket_form
Create a portal ticket form. Payload: title (required), description, fields[] (required; must include the requester and company fields). Each field: { id (ticket field ID), label_for_customers, customers_can_edit, required_for_customers, placeholder_for_customers, hint_for_customers, position? }.
| Parameter | Type | Description |
|---|---|---|
form * | object | Ticket form payload. |
update_ticket_form
Update a ticket form's title, description or fields[] (same field shape as create_ticket_form).
| Parameter | Type | Description |
|---|---|---|
form * | object | Fields to change. |
form_id * | integer | Ticket form ID. |
delete_ticket_form
Delete a ticket form.
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Ticket form ID. |
clone_ticket_form
Duplicate a ticket form (creates 'Copy of …' with the same fields).
| Parameter | Type | Description |
|---|---|---|
form_id * | integer | Ticket form ID. |
view_ticket_form_field
View how one ticket field is configured inside a ticket form.
| Parameter | Type | Description |
|---|---|---|
field_id * | integer | Ticket field ID (from get_ticket_fields). |
form_id * | integer | Ticket form ID. |
update_ticket_form_field
Update a field inside a ticket form. Payload: label_for_customers, customers_can_edit, required_for_customers, hint_for_customers, placeholder_for_customers, position.
| Parameter | Type | Description |
|---|---|---|
field * | object | Form field settings. |
field_id * | integer | Ticket field ID (from get_ticket_fields). |
form_id * | integer | Ticket form ID. |
delete_ticket_form_field
Remove a field from a ticket form (the ticket field itself is kept).
| Parameter | Type | Description |
|---|---|---|
field_id * | integer | Ticket field ID (from get_ticket_fields). |
form_id * | integer | Ticket form ID. |
bulk_create_tickets
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Create up to 100 tickets in one asynchronous job (same payload shape as create_ticket). Returns a job_id — poll view_job_status.
| Parameter | Type | Description |
|---|---|---|
tickets * | array | Ticket payloads. |
bulk_update_tickets
Update up to 100 tickets asynchronously. Payload: { ids: number[], properties?: {status, priority, source, type, group_id, responder_id, product_id, email_config_id, requester_id, parent_id, due_by, fr_due_by, tags, custom_fields, internal_agent_id, internal_group_id, skip_close_notification…}, reply?: { body, from_email? } }. Changing internal agent/group also requires status. Returns a job_id — poll view_job_status.
| Parameter | Type | Description |
|---|---|---|
bulk_action * | object | { ids, properties?, reply? } |
bulk_delete_tickets
Soft-delete up to 100 tickets asynchronously. Payload: { ids: number[] }. Returns a job_id — poll view_job_status.
| Parameter | Type | Description |
|---|---|---|
bulk_action * | object | { ids: number[] } |
merge_tickets
Merge secondary tickets into a primary one (secondaries are closed). Payload: primary_id, ticket_ids[], note_in_primary?{body,private}, note_in_secondary?{body,private}, convert_recepients_to_cc? (Freshdesk's spelling).
| Parameter | Type | Description |
|---|---|---|
merge * | object | Merge payload. |
list_archived_tickets
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. List archived tickets (closed tickets moved out of the active list; not returned by get_tickets/search_tickets).
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_archived_ticket
View an archived ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_archived_ticket_conversations
List replies and notes on an archived ticket, oldest first. Fetches every page by default. Output: { conversations, total_returned, pages_fetched, truncated, next_page }; with fetch_all=false a single page plus pagination{current_page, next_page, prev_page, per_page}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
fetch_all | boolean | Follow pagination until the last page (default true). |
max_pages | integer | Safety cap on pages fetched when fetch_all=true. |
page | integer | First page to fetch. |
per_page | integer | Conversations per page (max 100). |
delete_archived_ticket
Permanently delete an archived ticket. Irreversible.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_ticket_watchers
List agent IDs watching a ticket (watchers get notified of updates).
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
add_ticket_watcher
Add an agent as a watcher on a ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
user_id * | integer | Agent ID to add as watcher. |
remove_ticket_watcher
Stop watching a ticket as the API-key owner (Freshdesk only lets the current agent unwatch).
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
bulk_watch_tickets
Add one agent as watcher on many tickets (defaults to the API-key owner).
| Parameter | Type | Description |
|---|---|---|
ids * | array | Ticket IDs. |
user_id | integer | Agent ID; omit for the current agent. |
bulk_unwatch_tickets
Stop watching many tickets as the API-key owner.
| Parameter | Type | Description |
|---|---|---|
ids * | array | Ticket IDs. |
get_associated_tickets
List tickets associated with a ticket: children of a parent, or related tickets of a tracker. To create associations, pass parent_id (child) or related_ticket_ids/association_type on create_ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
get_prime_association
Get the prime (parent or tracker) ticket of a child/related ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_ticket_accesses
List user IDs (besides the requester) that were given access to view a ticket in the portal.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
add_ticket_accesses
Give users (contacts) access to view a ticket in the portal.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
user_ids * | array | User IDs to grant. |
update_ticket_accesses
Grant and/or revoke ticket access for specific users in one call.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
add | array | User IDs to grant. |
remove | array | User IDs to revoke. |
remove_ticket_accesses
Revoke ALL extra user access on a ticket (requester keeps access).
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_ticket_time_entries
List time entries logged on a ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_ticket_satisfaction_ratings
List CSAT ratings submitted for a ticket.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Freshdesk ticket ID (the numeric display ID). |
list_ticket_enums
Return the numeric codes Freshdesk uses for ticket source, status and priority. No API call.
get_ticket_attachment
Download and read one attachment from a ticket or any of its conversations. Images come back as viewable images, text-like files (log, txt, json, xml, csv, yaml…) as text, other files (PDF, zip…) as an embedded base64 resource. Get attachment IDs from the 'attachments' arrays of get_ticket / get_ticket_conversation. Max 5 MB (FRESHDESK_MAX_ATTACHMENT_BYTES).
| Parameter | Type | Description |
|---|---|---|
attachment_id * | integer | Attachment ID. |
ticket_id * | integer | Ticket ID. |
archived | boolean | true if the ticket is archived. |
get_ticket_inline_images
Return screenshots/images pasted inline in the ticket description and (optionally) conversation bodies — these are NOT in the 'attachments' arrays. Each image is labelled with where it came from (description, customer reply, agent reply, private note). Duplicates (e.g. from quoted replies) and tiny images (signatures, logos, tracking pixels) are skipped. The first content item is a JSON summary of found / returned / skipped images with reasons.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket ID. |
archived | boolean | true if the ticket is archived. |
include_conversations | boolean | Also scan reply/note bodies (default true). |
max_images | integer | Max images returned. |
min_dimension | integer | Skip images whose width AND height are below this many pixels (0 = keep all). |
list_contacts
List contacts (customers/requesters), optionally filtered by exact email, phone, mobile, company or state. Deleted contacts are excluded unless state='deleted'. For partial-name lookup use search_contacts; for custom-field queries use filter_contacts.
| Parameter | Type | Description |
|---|---|---|
company_id | integer | Contacts of this company. |
contact_type | string | Filter by contact type. |
email | string | Exact email match. |
mobile | string | Exact mobile number. |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
phone | string | Exact phone number. |
state | string | Contact state. |
updated_since | string | ISO-8601 UTC timestamp. |
get_contact
Get a contact by ID (name, emails, phones, company, custom_fields, tags…).
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
search_contacts
Autocomplete contacts by the start of their name (fast, partial match). Returns id + name only.
| Parameter | Type | Description |
|---|---|---|
query * | string | Name prefix to search, e.g. 'john'. |
filter_contacts
Filter contacts with Freshdesk query language (BETA). Syntax: field:value with AND/OR and parentheses; strings in single quotes; :> / :< for numeric and date ranges; null for empty. Fields: email, phone, mobile, company_id, twitter_id, language, time_zone, tag, active, created_at, updated_at (dates 'YYYY-MM-DD') and custom contact fields by name. Example: "company_id:42 AND tag:'vip'". 30 results/page, max 10 pages. Returns { results, total }.
| Parameter | Type | Description |
|---|---|---|
query * | string | Query without the surrounding double quotes. |
page | integer | Result page 1-10. |
create_contact
Create a contact. Required: name and one of email | phone | mobile | twitter_id | unique_external_id | social_handler[] (up to 10 Facebook/Instagram/X handles). Optional: other_emails[], company_id, view_all_tickets, other_companies[{company_id, view_all_tickets}], job_title, language, time_zone, address, description, tags[], custom_fields{}, lookup_parameter.
| Parameter | Type | Description |
|---|---|---|
contact * | object | Contact payload. |
update_contact
Partially update a contact; only sent keys change (same fields as create_contact, incl. social_handler[], other_emails[], lookup_parameter). Setting tags, other_emails or other_companies replaces the whole list.
| Parameter | Type | Description |
|---|---|---|
contact * | object | Fields to change. |
contact_id * | integer | Contact (customer) ID. |
delete_contact
Soft-delete a contact (moves to Deleted; reversible with restore_contact).
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
hard_delete_contact
PERMANENTLY delete a contact and ALL their tickets (GDPR erase). Irreversible. The contact must already be soft-deleted unless force=true.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
force | boolean | true = hard-delete even if not soft-deleted first. |
restore_contact
Restore a soft-deleted contact.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
list_deleted_contacts
List soft-deleted contacts (shortcut for list_contacts state='deleted').
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
merge_contacts
Merge duplicate contacts into a primary one; secondaries' tickets move to the primary and secondaries are deleted. Payload: primary_contact_id, secondary_contact_ids[], contact?{email, phone, mobile, twitter_id, unique_external_id, other_emails[], company_ids[]} to pick the merged contact's final values.
| Parameter | Type | Description |
|---|---|---|
merge * | object | Merge payload. |
make_agent
Convert a contact (must have an email) into an agent. Optional agent settings: occasional, ticket_scope (1=global 2=group 3=restricted), group_ids[], contribution_group_ids[], skill_ids[], signature, focus_mode, type ('support_agent' | 'field_agent' | 'collaborator').
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
agent | object | Optional agent settings. |
send_contact_invite
Email a customer-portal activation invite to a contact.
| Parameter | Type | Description |
|---|---|---|
contact_id * | integer | Contact (customer) ID. |
export_contacts
Start an async CSV export of all contacts. Returns an export id — poll view_contact_export until it has a download url. Use list_contact_fields to discover field names.
| Parameter | Type | Description |
|---|---|---|
default_fields * | array | Default contact fields to export, e.g. ['name','email','phone','company_name']. |
custom_fields | array | Custom contact field names to export. |
view_contact_export
Check a contact export job; when status is 'completed' the response includes the download url.
| Parameter | Type | Description |
|---|---|---|
export_id * | string | Export id returned by export_contacts. |
list_contact_imports
List the 5 most recent contact CSV imports (status, record counts, failure report).
| Parameter | Type | Description |
|---|---|---|
status | string | Only imports in this state. |
view_contact_import
View a contact import: progress, completion estimate or failures.
| Parameter | Type | Description |
|---|---|---|
import_id * | integer | Import ID. |
cancel_contact_import
Cancel an in-progress contact import.
| Parameter | Type | Description |
|---|---|---|
import_id * | integer | Import ID. |
list_contact_fields
List all contact field definitions (system + custom) with names, types and choices.
view_contact_field
View one contact field definition.
| Parameter | Type | Description |
|---|---|---|
contact_field_id * | integer | Contact field ID. |
create_contact_field
Admin: create a custom contact field. Required: label, label_for_customers, type ('custom_text' | 'custom_paragraph' | 'custom_checkbox' | 'custom_number' | 'custom_dropdown' | 'custom_phone_number' | 'custom_url' | 'custom_date'). Also required: agents_can_edit, displayed_for_agents, quick_add_for_agent, unique (booleans). Optional: position, required_for_agents, customers_can_edit, required_for_customers, displayed_for_customers, editable_in_signup, choices[].
| Parameter | Type | Description |
|---|---|---|
contact_field * | object | Contact field payload. |
update_contact_field
Admin: update a contact field; only sent keys change.
| Parameter | Type | Description |
|---|---|---|
contact_field * | object | Fields to change. |
contact_field_id * | integer | Contact field ID. |
delete_contact_field
Admin: delete a custom contact field.
| Parameter | Type | Description |
|---|---|---|
contact_field_id * | integer | Contact field ID. |
get_agents
List agents (support staff) with their contact info, ticket_scope, group/role IDs and availability flag.
| Parameter | Type | Description |
|---|---|---|
email | string | Exact email filter. |
mobile | string | Exact mobile filter. |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
phone | string | Exact phone filter. |
state | string | Agent type filter. |
view_agent
Get one agent by ID.
| Parameter | Type | Description |
|---|---|---|
agent_id * | integer | Agent ID (not the contact ID). |
view_current_agent
Get the agent who owns the API key (useful as 'me', e.g. for responder_id).
search_agents
Autocomplete agents by name or email prefix. Returns id, name, email — use it to resolve a person to an agent ID.
| Parameter | Type | Description |
|---|---|---|
query * | string | Name/email prefix. |
create_agent
Create (invite) an agent. Fields: email (required on create), ticket_scope (1=global 2=group 3=restricted; required on create), occasional, signature, group_ids[], contribution_group_ids[], role_ids[], skill_ids[], agent_type, language, time_zone, focus_mode.
| Parameter | Type | Description |
|---|---|---|
agent * | object | Agent payload. |
bulk_create_agents
Create many agents in one async job. Each item: create_agent fields plus name, phone, mobile, job_title. Returns a job_id — poll view_job_status.
| Parameter | Type | Description |
|---|---|---|
agents * | array | Agent payloads. |
update_agent
Update an agent; only sent keys change (group_ids/role_ids/skill_ids replace the full list). Fields: email (required on create), ticket_scope (1=global 2=group 3=restricted; required on create), occasional, signature, group_ids[], contribution_group_ids[], role_ids[], skill_ids[], agent_type, language, time_zone, focus_mode.
| Parameter | Type | Description |
|---|---|---|
agent * | object | Fields to change. |
agent_id * | integer | Agent ID (not the contact ID). |
delete_agent
Delete an agent: they are downgraded to a contact (their tickets are kept).
| Parameter | Type | Description |
|---|---|---|
agent_id * | integer | Agent ID (not the contact ID). |
list_agent_availabilities
List all agents with per-channel availability: available, logged_in, assignment_limit, current_assignment_load, status, round_robin_enabled.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_agent_availability
View one agent's per-channel availability and assignment load.
| Parameter | Type | Description |
|---|---|---|
agent_id * | integer | Agent ID (not the contact ID). |
update_agent_availability
Update an agent's load settings: per-channel assignment_limit and/or availability_control.
| Parameter | Type | Description |
|---|---|---|
agent_id * | integer | Agent ID (not the contact ID). |
availability_control | string | Who controls availability, e.g. 'agent_controlled'. |
channel_availability | array | Per-channel limits to set. |
list_groups
List agent groups (teams tickets can be assigned to).
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_group
Get one group by ID.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
create_group
Create a group. Fields: name (required on create), description, agent_ids[], auto_ticket_assign (0|1), escalate_to (agent ID), unassigned_for ('30m'|'1h'|'2h'|'4h'|'8h'|'12h'|'1d'|'2d'|'3d').
| Parameter | Type | Description |
|---|---|---|
group * | object | Group payload. |
update_group
Update a group; only sent keys change (agent_ids replaces the member list). Fields: name (required on create), description, agent_ids[], auto_ticket_assign (0|1), escalate_to (agent ID), unassigned_for ('30m'|'1h'|'2h'|'4h'|'8h'|'12h'|'1d'|'2d'|'3d').
| Parameter | Type | Description |
|---|---|---|
group * | object | Fields to change. |
group_id * | integer | Group ID. |
delete_group
Delete a group. Tickets assigned to it become unassigned from the group.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
list_admin_groups
List groups via the admin API (includes routing/omnichannel settings). Prefer this on Omni accounts.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_admin_group
Get one group via the admin API (with routing settings).
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
create_admin_group
Create a group via the admin API. Fields: name, description, type ('support_agent_group'|'field_agent_group'), agent_ids[], escalate_to, unassigned_for, business_calendar_id, allow_agents_to_change_availability, automatic_agent_assignment{enabled, type, settings[]}.
| Parameter | Type | Description |
|---|---|---|
group * | object | Group payload. |
update_admin_group
Update a group via the admin API; only sent keys change. Fields: name, description, type ('support_agent_group'|'field_agent_group'), agent_ids[], escalate_to, unassigned_for, business_calendar_id, allow_agents_to_change_availability, automatic_agent_assignment{enabled, type, settings[]}.
| Parameter | Type | Description |
|---|---|---|
group * | object | Fields to change. |
group_id * | integer | Group ID. |
delete_admin_group
Delete a group via the admin API.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
list_group_agents
List the agents who are members of a group.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
update_group_agents
Add and/or remove agents in a group without resending the full member list.
| Parameter | Type | Description |
|---|---|---|
group_id * | integer | Group ID. |
add | array | Agent IDs to add. |
remove | array | Agent IDs to remove. |
list_canned_response_folders
List canned response (saved reply template) folders with response counts. Start here to browse templates.
view_canned_response_folder
View a folder and the id/title of each canned response in it (no content).
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Canned response folder ID. |
list_canned_responses
List canned responses in a folder with full content (content_html, attachments).
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Canned response folder ID. |
view_canned_response
Get one canned response with its HTML content. Placeholders like {{ticket.requester.name}} are returned unrendered.
| Parameter | Type | Description |
|---|---|---|
canned_response_id * | integer | Canned response ID. |
create_canned_response
Create a canned response. Required: title, content_html, folder_id, visibility (0=all agents 1=personal 2=selected groups), group_ids[] (required when visibility=2). File attachments (multipart) are not supported.
| Parameter | Type | Description |
|---|---|---|
canned_response * | object | Canned response payload. |
bulk_create_canned_responses
Create many canned responses in one async job. Each item: title, content_html, folder_id, visibility (0=all agents 1=personal 2=selected groups), group_ids[] (required when visibility=2). Returns a job_id — poll view_job_status.
| Parameter | Type | Description |
|---|---|---|
canned_responses * | array | Canned response payloads. |
update_canned_response
Update a canned response; only sent keys change. Fields: title, content_html, folder_id, visibility (0=all agents 1=personal 2=selected groups), group_ids[] (required when visibility=2).
| Parameter | Type | Description |
|---|---|---|
canned_response * | object | Fields to change. |
canned_response_id * | integer | Canned response ID. |
delete_canned_response
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Delete a canned response.
| Parameter | Type | Description |
|---|---|---|
canned_response_id * | integer | Canned response ID. |
create_canned_response_folder
Create a canned response folder. Payload: { name }.
| Parameter | Type | Description |
|---|---|---|
folder * | object | { name } |
update_canned_response_folder
Rename a canned response folder. Payload: { name }.
| Parameter | Type | Description |
|---|---|---|
folder * | object | { name } |
folder_id * | integer | Canned response folder ID. |
delete_canned_response_folder
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Delete a canned response folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Canned response folder ID. |
search_solution_articles
Keyword search across Knowledge Base articles (title + body). Returns matching articles with category/folder names. Use this first when looking for help content to answer a customer.
| Parameter | Type | Description |
|---|---|---|
term * | string | Search keyword(s). |
list_solution_categories
List Knowledge Base categories (top level of category → folder → article).
| Parameter | Type | Description |
|---|---|---|
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
view_solution_category
Get one Knowledge Base category.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Solution category ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
create_solution_category
Create a Knowledge Base category. Payload: name (required, unique), description, visible_in_portals[] (portal IDs).
| Parameter | Type | Description |
|---|---|---|
category * | object | Category payload. |
update_solution_category
Update a category (or its translation when language is set); only sent keys change.
| Parameter | Type | Description |
|---|---|---|
category * | object | Fields to change. |
category_id * | integer | Solution category ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
delete_solution_category
Delete a category and EVERYTHING inside it (folders and articles). Irreversible.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Solution category ID. |
list_solution_folders
List top-level folders in a category (with articles_count, sub_folders_count, visibility).
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Solution category ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
list_solution_subfolders
List subfolders nested inside a folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Solution folder ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
view_solution_category_folder
Get one Knowledge Base folder.
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Solution folder ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
create_solution_category_folder
Create a folder in a category. Fields: name (required, unique in category), description, visibility (1=all 2=logged-in users 3=agents 4=selected companies 5=selected contact segments 6=selected company segments), company_ids[] / contact_segment_ids[] / company_segment_ids[] (for 4/5/6), parent_folder_id (subfolder).
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Solution category ID. |
folder * | object | Folder payload. |
update_solution_category_folder
Update a folder (or its translation when language is set); only sent keys change. Fields: name (required, unique in category), description, visibility (1=all 2=logged-in users 3=agents 4=selected companies 5=selected contact segments 6=selected company segments), company_ids[] / contact_segment_ids[] / company_segment_ids[] (for 4/5/6), parent_folder_id (subfolder).
| Parameter | Type | Description |
|---|---|---|
folder * | object | Fields to change. |
folder_id * | integer | Solution folder ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
delete_solution_category_folder
Delete a folder and all its articles/subfolders. Irreversible.
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Solution folder ID. |
list_solution_articles
List articles in a folder (full content included).
| Parameter | Type | Description |
|---|---|---|
folder_id * | integer | Solution folder ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
view_solution_article
Get one article with HTML description, status, tags, hits and thumbs up/down.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | Solution article ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
create_solution_article
Create an article in a folder. Required: title, description, status. Fields: title, description (HTML), status (1=draft 2=published), type (1=permanent 2=workaround), agent_id (author), tags[], seo_data{meta_title, meta_description, meta_keywords}, review_date.
| Parameter | Type | Description |
|---|---|---|
article * | object | Article payload. |
folder_id * | integer | Solution folder ID. |
update_solution_article
Update an article (or its translation when language is set); only sent keys change. Set status=2 to publish. Fields: title, description (HTML), status (1=draft 2=published), type (1=permanent 2=workaround), agent_id (author), tags[], seo_data{meta_title, meta_description, meta_keywords}, review_date.
| Parameter | Type | Description |
|---|---|---|
article * | object | Fields to change. |
article_id * | integer | Solution article ID. |
language | string | Optional language code (e.g. 'fr', 'es', 'pt-BR') to target a translated version. Omit for the primary language. |
delete_solution_article
Delete an article (all translations). Irreversible.
| Parameter | Type | Description |
|---|---|---|
article_id * | integer | Solution article ID. |
create_solution_translation
Add a translation of an existing category, folder or article (multilingual Knowledge Base must be enabled). Payload uses the same fields as the original (category: name, description; folder: name, description; article: title, description, status).
| Parameter | Type | Description |
|---|---|---|
id * | integer | ID of the existing category/folder/article. |
kind * | string | What to translate. |
language * | string | Target language code, e.g. 'fr'. |
translation * | object | Translated content. |
list_companies
List companies (customer organisations) with pagination. Returns { companies, pagination }.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
updated_since | string | ISO-8601 UTC timestamp. |
view_company
Get a company by ID (name, domains, health_score, account_tier, renewal_date, industry, custom_fields…).
| Parameter | Type | Description |
|---|---|---|
company_id * | integer | Company ID. |
search_companies
Autocomplete companies by the start of their name. Returns id + name only — use this to resolve a company name to an ID.
| Parameter | Type | Description |
|---|---|---|
query * | string | Name prefix, e.g. 'acme'. |
filter_companies
Filter companies with Freshdesk query language (BETA). Syntax: field:value with AND/OR and parentheses; strings in single quotes; :> / :< for numeric and date ranges; null for empty. Fields: domain, created_at, updated_at (dates 'YYYY-MM-DD') and custom company fields by name. Example: "domain:'acme.com' OR industry:'Retail'". 30 results/page, max 10 pages. Returns { results, total }.
| Parameter | Type | Description |
|---|---|---|
query * | string | Query without the surrounding double quotes. |
page | integer | Result page 1-10. |
create_company
Create a company. Required: name (unique). Optional: description, note, domains[] (contacts with these email domains auto-link), health_score, account_tier, renewal_date, industry, custom_fields{}.
| Parameter | Type | Description |
|---|---|---|
company * | object | Company payload. |
update_company
Partially update a company; only sent keys change. Setting domains replaces the whole list.
| Parameter | Type | Description |
|---|---|---|
company * | object | Fields to change. |
company_id * | integer | Company ID. |
delete_company
Permanently delete a company. Its contacts and tickets are kept but unlinked. Irreversible.
| Parameter | Type | Description |
|---|---|---|
company_id * | integer | Company ID. |
list_company_contacts
List contacts that belong to a company.
| Parameter | Type | Description |
|---|---|---|
company_id * | integer | Company ID. |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
export_companies
Start an async CSV export of all companies. Returns an export id — poll view_company_export until it has a download url.
| Parameter | Type | Description |
|---|---|---|
default_fields * | array | Default company fields to export, e.g. ['name','domains','description']. |
custom_fields | array | Custom company field names to export. |
view_company_export
Check a company export job; when complete the response includes the CSV download url.
| Parameter | Type | Description |
|---|---|---|
export_id * | string | Export id returned by export_companies. |
list_company_imports
List the 5 most recent company CSV imports (status, record counts, failure report).
| Parameter | Type | Description |
|---|---|---|
status | string | Only imports in this state. |
view_company_import
View a company import: progress, completion estimate or failures.
| Parameter | Type | Description |
|---|---|---|
import_id * | integer | Import ID. |
cancel_company_import
Cancel an in-progress company import.
| Parameter | Type | Description |
|---|---|---|
import_id * | integer | Import ID. |
list_company_fields
List all company field definitions (system + custom) with names, types and choices.
view_company_field
View one company field definition.
| Parameter | Type | Description |
|---|---|---|
company_field_id * | integer | Company field ID. |
create_company_field
Admin: create a custom company field. Required: label, type ('custom_text' | 'custom_paragraph' | 'custom_checkbox' | 'custom_number' | 'custom_dropdown' | 'custom_phone_number' | 'custom_url' | 'custom_date'), agents_can_edit, displayed_for_agents, quick_add_for_agent, unique (booleans). Optional: position, required_for_agents, choices[].
| Parameter | Type | Description |
|---|---|---|
company_field * | object | Company field payload. |
update_company_field
Admin: update a company field; only sent keys change.
| Parameter | Type | Description |
|---|---|---|
company_field * | object | Fields to change. |
company_field_id * | integer | Company field ID. |
delete_company_field
Admin: delete a custom company field.
| Parameter | Type | Description |
|---|---|---|
company_field_id * | integer | Company field ID. |
list_skills
List routing skills (used by skill-based ticket assignment) with their matching conditions and agents.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_skill
Get one routing skill.
| Parameter | Type | Description |
|---|---|---|
skill_id * | integer | Skill ID. |
create_skill
Create a routing skill. Required: name. Fields: name, rank, agents[{id}], match_type ('all'|'any'), conditions[{resource_type:'ticket'|'contact'|'company', field_name, operator ('in'|'not_in'|'is'|'is_not'), value[]}].
| Parameter | Type | Description |
|---|---|---|
skill * | object | Skill payload. |
update_skill
Update a routing skill; only sent keys change. Fields: name, rank, agents[{id}], match_type ('all'|'any'), conditions[{resource_type:'ticket'|'contact'|'company', field_name, operator ('in'|'not_in'|'is'|'is_not'), value[]}].
| Parameter | Type | Description |
|---|---|---|
skill * | object | Fields to change. |
skill_id * | integer | Skill ID. |
delete_skill
Delete a routing skill.
| Parameter | Type | Description |
|---|---|---|
skill_id * | integer | Skill ID. |
list_roles
List agent roles (Account Admin, Admin, Supervisor, Agent, custom…). Use the IDs in agent role_ids.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_role
Get one agent role.
| Parameter | Type | Description |
|---|---|---|
role_id * | integer | Role ID. |
list_products
List products (brands) configured in a multi-product helpdesk. Use the IDs in ticket product_id.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
view_product
Get one product.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Product ID. |
list_business_hours
List business-hour calendars (working hours, time zone, holidays) used by SLA and groups.
view_business_hours
Get one business-hour calendar with its weekly schedule and holidays.
| Parameter | Type | Description |
|---|---|---|
business_hours_id * | integer | Business hours ID. |
list_sla_policies
List SLA policies: response/resolution targets per priority and the conditions they apply to.
view_sla_policy
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Get one SLA policy.
| Parameter | Type | Description |
|---|---|---|
sla_policy_id * | integer | SLA policy ID. |
create_sla_policy
Create an SLA policy. Required: name, sla_target, applicable_to. Fields: name, description, active, position, is_default, sla_target{priority_1..priority_4: {respond_within, resolve_within (seconds), business_hours, escalation_enabled}}, applicable_to{company_ids[], group_ids[], sources[], ticket_types[], product_ids[]}, escalation{response, resolution}.
| Parameter | Type | Description |
|---|---|---|
sla_policy * | object | SLA policy payload. |
update_sla_policy
Update an SLA policy (applicable_to must be sent for non-default policies). Fields: name, description, active, position, is_default, sla_target{priority_1..priority_4: {respond_within, resolve_within (seconds), business_hours, escalation_enabled}}, applicable_to{company_ids[], group_ids[], sources[], ticket_types[], product_ids[]}, escalation{response, resolution}.
| Parameter | Type | Description |
|---|---|---|
sla_policy * | object | Fields to change. |
sla_policy_id * | integer | SLA policy ID. |
list_email_configs
List support email addresses (email configs). Use an ID as email_config_id when creating outbound emails/tickets.
view_email_config
Get one email config.
| Parameter | Type | Description |
|---|---|---|
email_config_id * | integer | Email config ID. |
list_email_mailboxes
List email mailboxes (support addresses with their routing group/product and IMAP/SMTP settings).
| Parameter | Type | Description |
|---|---|---|
active | boolean | Only active (true) or inactive (false). |
forward_email | string | Exact forward email. |
group_id | integer | Mailboxes routing to this group. |
order_by | string | Sort field (required when order_type is set). |
order_type | string | Sort direction. |
product_id | integer | Mailboxes of this product. |
support_email | string | Exact support email. |
view_email_mailbox
Get one email mailbox.
| Parameter | Type | Description |
|---|---|---|
mailbox_id * | integer | Mailbox ID. |
create_email_mailbox
Create an email mailbox. Fields (* required): support_email*, mailbox_type* ('freshdesk_mailbox'|'custom_mailbox'), name, group_id, product_id, default_reply_email, custom_mailbox{access_type ('incoming'|'outgoing'|'both'), incoming{mail_server, port, use_ssl, authentication, username, password}, outgoing{…same…}} (required for custom_mailbox).
| Parameter | Type | Description |
|---|---|---|
mailbox * | object | Mailbox payload. |
update_email_mailbox
Update an email mailbox; only sent keys change. Fields: support_email*, mailbox_type* ('freshdesk_mailbox'|'custom_mailbox'), name, group_id, product_id, default_reply_email, custom_mailbox{access_type ('incoming'|'outgoing'|'both'), incoming{mail_server, port, use_ssl, authentication, username, password}, outgoing{…same…}} (required for custom_mailbox).
| Parameter | Type | Description |
|---|---|---|
mailbox * | object | Fields to change. |
mailbox_id * | integer | Mailbox ID. |
delete_email_mailbox
Delete an email mailbox. Emails to that address stop creating tickets.
| Parameter | Type | Description |
|---|---|---|
mailbox_id * | integer | Mailbox ID. |
view_mailbox_settings
View account-wide email settings (personalized replies, reply-to requester, agent-initiated outbound, forward handling).
update_mailbox_settings
Update account-wide email settings. Send only the flags to change.
| Parameter | Type | Description |
|---|---|---|
allow_agent_to_initiate_conversation | boolean | Allow agents to send outbound emails that become tickets. |
create_requester_using_reply_to | boolean | Create requester from Reply-To instead of From. |
original_sender_as_requester_for_forward | boolean | When an agent forwards an email to the helpdesk, make the original sender the requester. |
personalized_email_replies | boolean | Agents' own name as sender name in replies/outbound emails. |
view_automatic_bcc_emails
View the addresses automatically BCC'd on all ticket communication.
update_automatic_bcc_emails
Replace the list of addresses automatically BCC'd on all ticket communication (max 255 characters total). Send [] to clear.
| Parameter | Type | Description |
|---|---|---|
emails * | array | Full list of BCC addresses. |
view_helpdesk_settings
View helpdesk settings: primary/supported languages and portal language options.
view_account
View account info: plan, data center, time zone, agent counts, account admin contact.
export_account
Account admin only: start a full data export (emailed to the admin when ready). resources[].name: tickets | archive_tickets | contacts | companies | groups | forums | canned_responses | surveys | solutions…; include examples: tickets → notes, attachments, ticket_states, requester; companies → company_domains.
| Parameter | Type | Description |
|---|---|---|
date_range * | object | Only data created within this range. |
resources * | array | Resources to export. |
output_format | string | Export format. |
create_thread
Create a collaboration thread on a ticket (e.g. a forward conversation with third parties). Payload: type ('forward'), parent{id: ticket ID, type: 'ticket'}, title?, participants?{emails[], agents[]}, additional_info?{email_config_id}.
| Parameter | Type | Description |
|---|---|---|
thread * | object | Thread payload. |
view_thread
Get a collaboration thread.
| Parameter | Type | Description |
|---|---|---|
thread_id * | string | number | Collaboration thread ID. |
update_thread
Update a collaboration thread (title, participants, additional_info).
| Parameter | Type | Description |
|---|---|---|
thread * | object | Fields to change. |
thread_id * | string | number | Collaboration thread ID. |
delete_thread
Delete a collaboration thread.
| Parameter | Type | Description |
|---|---|---|
thread_id * | string | number | Collaboration thread ID. |
create_thread_message
Post a message to a collaboration thread (sends email for forward threads). Payload: body (HTML), participants?{email:{to[], cc[], bcc[]}}, additional_info?{has_quoted_text, email_subject}, attachment_ids[]. Use get_thread_message_quote to build quoted text for replies.
| Parameter | Type | Description |
|---|---|---|
message * | object | Message payload. |
thread_id * | string | number | Collaboration thread ID. |
view_thread_message
Get a thread message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | number | Thread message ID. |
get_thread_message_quote
Get the email-style quoted HTML of a thread message, to append when replying.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | number | Thread message ID. |
update_thread_message
Update a thread message's body or metadata.
| Parameter | Type | Description |
|---|---|---|
message * | object | Fields to change. |
message_id * | string | number | Thread message ID. |
delete_thread_message
Delete a thread message.
| Parameter | Type | Description |
|---|---|---|
message_id * | string | number | Thread message ID. |
list_time_entries
List time entries across all tickets, filterable by agent, company, billable flag and execution date range.
| Parameter | Type | Description |
|---|---|---|
agent_id | integer | Only entries by this agent. |
billable | boolean | Only billable (true) or non-billable (false). |
company_id | integer | Only entries on this company's tickets. |
executed_after | string | ISO-8601 UTC timestamp. |
executed_before | string | ISO-8601 UTC timestamp. |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
create_time_entry
Log time on a ticket. Fields: agent_id, billable, note, time_spent ('hh:mm'), executed_at (ISO-8601), start_time, timer_running. Omit time_spent and set timer_running=true to start a live timer.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | Ticket ID. |
time_entry * | object | Time entry payload. |
update_time_entry
Update a time entry; only sent keys change. Fields: agent_id, billable, note, time_spent ('hh:mm'), executed_at (ISO-8601), start_time, timer_running.
| Parameter | Type | Description |
|---|---|---|
time_entry * | object | Fields to change. |
time_entry_id * | integer | Time entry ID. |
toggle_time_entry_timer
Start a stopped timer or stop a running one on a time entry.
| Parameter | Type | Description |
|---|---|---|
time_entry_id * | integer | Time entry ID. |
delete_time_entry
Delete a time entry.
| Parameter | Type | Description |
|---|---|---|
time_entry_id * | integer | Time entry ID. |
list_forum_categories
List community forum categories (Discussions; legacy feature, only on accounts that have forums enabled).
view_forum_category
Get one forum category.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Forum category ID. |
create_forum_category
Create a forum category. Payload: name (required), description.
| Parameter | Type | Description |
|---|---|---|
category * | object | { name, description? } |
update_forum_category
Update a forum category (name, description).
| Parameter | Type | Description |
|---|---|---|
category * | object | Fields to change. |
category_id * | integer | Forum category ID. |
delete_forum_category
Delete a forum category with all its forums and topics. Irreversible.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Forum category ID. |
list_forums
List forums in a forum category.
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Forum category ID. |
view_forum
Get one forum.
| Parameter | Type | Description |
|---|---|---|
forum_id * | integer | Forum ID. |
create_forum
Create a forum in a category. Required: name, forum_type (1=how-to 2=ideas 3=problems 4=announcements), forum_visibility (1=all 2=logged-in 3=agents 4=selected companies). Optional: description, company_ids[] (for visibility 4).
| Parameter | Type | Description |
|---|---|---|
category_id * | integer | Forum category ID. |
forum * | object | Forum payload. |
update_forum
Update a forum (name, description, forum_type, forum_visibility, company_ids[], forum_category_id to move it).
| Parameter | Type | Description |
|---|---|---|
forum * | object | Fields to change. |
forum_id * | integer | Forum ID. |
delete_forum
Delete a forum with all its topics. Irreversible.
| Parameter | Type | Description |
|---|---|---|
forum_id * | integer | Forum ID. |
list_topics
List topics (threads) in a forum.
| Parameter | Type | Description |
|---|---|---|
forum_id * | integer | Forum ID. |
view_topic
Get one forum topic.
| Parameter | Type | Description |
|---|---|---|
topic_id * | integer | Topic ID. |
create_topic
Create a topic in a forum. Payload: title, message (HTML) required; sticky, locked, stamp_type optional.
| Parameter | Type | Description |
|---|---|---|
forum_id * | integer | Forum ID. |
topic * | object | Topic payload. |
update_topic
Update a forum topic (title, message, sticky, locked, stamp_type, forum_id to move it).
| Parameter | Type | Description |
|---|---|---|
topic * | object | Fields to change. |
topic_id * | integer | Topic ID. |
delete_topic
Delete a forum topic and its comments.
| Parameter | Type | Description |
|---|---|---|
topic_id * | integer | Topic ID. |
list_topic_comments
List comments on a forum topic.
| Parameter | Type | Description |
|---|---|---|
topic_id * | integer | Topic ID. |
create_topic_comment
Comment on a forum topic. Payload: { body (HTML, required) }.
| Parameter | Type | Description |
|---|---|---|
comment * | object | Comment payload. |
topic_id * | integer | Topic ID. |
update_topic_comment
Update a forum comment. Payload: { body?, answer? (true = mark as the topic's answer) }.
| Parameter | Type | Description |
|---|---|---|
comment * | object | Fields to change. |
comment_id * | integer | Comment ID. |
delete_topic_comment
Delete a forum comment.
| Parameter | Type | Description |
|---|---|---|
comment_id * | integer | Comment ID. |
follow_discussion
Monitor (follow) a forum or topic so the user is notified of new posts.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Forum or topic ID. |
kind * | string | What to follow. |
user_id | integer | User ID; omit for the API-key owner (admins can act for others). |
unfollow_discussion
Stop monitoring a forum or topic.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Forum or topic ID. |
kind * | string | What to follow. |
user_id | integer | User ID; omit for the API-key owner (admins can act for others). |
check_discussion_follow
Check whether a user monitors a forum or topic. Returns { following: true|false }.
| Parameter | Type | Description |
|---|---|---|
id * | integer | Forum or topic ID. |
kind * | string | What to follow. |
user_id | integer | User ID; omit for the API-key owner (admins can act for others). |
list_followed_topics
List forum topics monitored by a user.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
user_id | integer | User ID; omit for the API-key owner (admins can act for others). |
list_participated_topics
List forum topics a user has posted in.
| Parameter | Type | Description |
|---|---|---|
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
user_id | integer | User ID; omit for the API-key owner (admins can act for others). |
list_csat_surveys
List customer-satisfaction surveys (new CSAT engine) with their questions, scales, choices and logic. Use the survey id and question ids with create_survey_response / list_survey_responses.
| Parameter | Type | Description |
|---|---|---|
next_token | string | Token from paging.next of the previous response. |
per_page | integer | Page size (default 30, max 100). |
prev_token | string | Token from paging.previous of the previous response. |
state | string | Only surveys in this state. |
list_survey_responses
List responses to a CSAT survey (new engine), filterable by date and completion status.
| Parameter | Type | Description |
|---|---|---|
survey_id * | string | Survey ID (UUID) from list_csat_surveys. |
created_since | string | ISO-8601; only responses created on/after this. |
next_token | string | Token from paging.next of the previous response. |
per_page | integer | Page size (default 30, max 100). |
prev_token | string | Token from paging.previous of the previous response. |
status | string | Response status. |
create_survey_response
Submit CSAT feedback for a resolved ticket (new engine). Include at least the required rating question. Answer value: integer for rating scales, string for text, option value string for single choice, array of option values for multi choice.
| Parameter | Type | Description |
|---|---|---|
answers * | array | One entry per question; no duplicates. |
survey_id * | string | Survey ID (UUID). |
ticket_id * | integer | Ticket being rated. |
list_surveys
List classic satisfaction surveys (legacy engine) and their questions.
| Parameter | Type | Description |
|---|---|---|
state | string | Only the active survey. |
view_survey
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Get one classic satisfaction survey.
| Parameter | Type | Description |
|---|---|---|
survey_id * | integer | Survey ID. |
list_satisfaction_ratings
List classic satisfaction ratings across tickets. Rating values: new surveys 103..-103 (Extremely happy..Extremely unhappy, 100=neutral); classic 1=happy 2=neutral 3=unhappy.
| Parameter | Type | Description |
|---|---|---|
created_since | string | ISO-8601 UTC timestamp. |
page | integer | Page number, starts at 1. |
per_page | integer | Items per page (max 100). |
user_id | integer | Only ratings by this contact. |
create_satisfaction_rating
Record a classic satisfaction rating on a ticket. Payload: ratings{default_question: 103..-103 (or 1..3 for classic), <question_id>: value}, feedback?.
| Parameter | Type | Description |
|---|---|---|
rating * | object | { ratings: {...}, feedback? } |
ticket_id * | integer | Ticket ID. |
list_automation_rules
List automation rules of one type, in execution order.
| Parameter | Type | Description |
|---|---|---|
automation_type_id * | number | Rule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates. |
view_automation_rule
Get one automation rule with its events, conditions and actions.
| Parameter | Type | Description |
|---|---|---|
automation_type_id * | number | Rule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates. |
rule_id * | integer | Automation rule ID. |
create_automation_rule
Create an automation rule. Tip: copy the shape of an existing rule from view_automation_rule. Fields: name (required), position, active, performer{type, members[]} (type 4 only), events[{field_name, from, to}] (type 4 only), conditions[{name, match_type 'all'|'any', properties[{resource_type, field_name, operator, value}]}], operator ('condition_set_1 or condition_set_2'), actions[{field_name, value}].
| Parameter | Type | Description |
|---|---|---|
automation_type_id * | number | Rule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates. |
rule * | object | Rule payload. |
update_automation_rule
Update an automation rule; only sent keys change (conditions/actions replace the full list). Fields: name (required), position, active, performer{type, members[]} (type 4 only), events[{field_name, from, to}] (type 4 only), conditions[{name, match_type 'all'|'any', properties[{resource_type, field_name, operator, value}]}], operator ('condition_set_1 or condition_set_2'), actions[{field_name, value}].
| Parameter | Type | Description |
|---|---|---|
automation_type_id * | number | Rule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates. |
rule * | object | Fields to change. |
rule_id * | integer | Automation rule ID. |
delete_automation_rule
Delete an automation rule.
| Parameter | Type | Description |
|---|---|---|
automation_type_id * | number | Rule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates. |
rule_id * | integer | Automation rule ID. |
list_scenario_automations
List scenario automations (one-click macros that apply several ticket actions at once).
view_scenario_automation
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Get one scenario automation and its actions.
| Parameter | Type | Description |
|---|---|---|
scenario_id * | integer | Scenario ID. |
execute_scenario
Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Run a scenario automation on a ticket (applies all its actions).
| Parameter | Type | Description |
|---|---|---|
scenario_id * | integer | Scenario ID. |
ticket_id * | integer | Ticket ID. |
list_custom_object_schemas
List custom objects (schemas) defined in the account.
view_custom_object_schema
Get a custom object schema: field names, types, required flags and lookup targets. Call before creating/filtering records.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Custom object schema ID. |
list_custom_object_records
List or filter records of a custom object. Pagination is cursor-based: pass next_token from the previous response's _links.next. Filters are AND-ed query conditions: { field_name: value } for equality, or operators via key suffix like { 'age[gt]': 30, 'created_time[gte]': '2024-01-01T00:00:00.000Z' } (gt, lt, gte, lte; != and OR not supported). Lookup filters use the target's ID (ticket display_id, org_contact_id, org_company_id).
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Custom object schema ID. |
filters | object | Field filters. |
next_token | string | Cursor from _links.next. |
page_size | integer | Records per page (default 20, max 100). |
sort_by | string | Field name to sort by. |
sort_order | string | Sort direction. |
count_custom_object_records
Count records of a custom object.
| Parameter | Type | Description |
|---|---|---|
schema_id * | string | Custom object schema ID. |
view_custom_object_record
Get one custom object record.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | Record display_id, e.g. 'BKG-1'. |
schema_id * | string | Custom object schema ID. |
create_custom_object_record
Create a custom object record. Payload: { data: { <field_name>: value, … } } using names from view_custom_object_schema. Lookup fields take the target's ID (ticket display_id, org_contact_id, org_company_id, or record id).
| Parameter | Type | Description |
|---|---|---|
record * | object | { data: {...} } |
schema_id * | string | Custom object schema ID. |
update_custom_object_record
Update a custom object record. Send the full record as returned by view_custom_object_record (including version) with changed data values.
| Parameter | Type | Description |
|---|---|---|
record * | object | { data: {...}, version? } |
record_id * | string | Record display_id, e.g. 'BKG-1'. |
schema_id * | string | Custom object schema ID. |
delete_custom_object_record
Delete a custom object record.
| Parameter | Type | Description |
|---|---|---|
record_id * | string | Record display_id, e.g. 'BKG-1'. |
schema_id * | string | Custom object schema ID. |
list_service_tasks
List Field Service Management service tasks (tickets of type 'Service Task'; requires the FSM add-on). Optional extra filter in search_tickets syntax, e.g. "status:2 AND agent_id:123". 30 per page, max 10 pages.
| Parameter | Type | Description |
|---|---|---|
filter | string | Extra query AND-ed with type:'Service Task'. |
page | integer | Result page 1-10. |
view_service_task
Get one FSM service task (a ticket) including its cf_fsm_* custom fields.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | Service task (ticket) ID. |
create_service_task
Create an FSM service task, optionally under a parent ticket (max 10 per parent). type is forced to 'Service Task'. Fields: subject, description, status, priority, requester_id|email, responder_id (field technician agent), group_id (service group), custom_fields{cf_fsm_contact_name*, cf_fsm_phone_number*, cf_fsm_service_location*, cf_fsm_appointment_start_time, cf_fsm_appointment_end_time (UTC ISO-8601)} (* required on create); any other create_ticket field (source, tags, product_id, cc_emails, due_by…) is also accepted.
| Parameter | Type | Description |
|---|---|---|
task * | object | Ticket payload for the task. |
parent_id | integer | Parent ticket ID to attach the task to. |
update_service_task
Update an FSM service task (e.g. reschedule, reassign technician, change status); only sent keys change. Fields: subject, description, status, priority, requester_id|email, responder_id (field technician agent), group_id (service group), custom_fields{cf_fsm_contact_name*, cf_fsm_phone_number*, cf_fsm_service_location*, cf_fsm_appointment_start_time, cf_fsm_appointment_end_time (UTC ISO-8601)} (* required on create).
| Parameter | Type | Description |
|---|---|---|
task * | object | Fields to change. |
task_id * | integer | Service task (ticket) ID. |
delete_service_task
Delete (trash) an FSM service task.
| Parameter | Type | Description |
|---|---|---|
task_id * | integer | Service task (ticket) ID. |
create_outbound_email
Start a new email conversation with a customer (creates an outbound ticket, Closed + assigned to you by default so SLA doesn't run). Required: email, subject, email_config_id (see list_email_configs). Optional: name, description (HTML), status (default 5=closed), priority (default 1), type, group_id, tags[], custom_fields{}, due_by, fr_due_by. Subject/description can't be edited later.
| Parameter | Type | Description |
|---|---|---|
email * | object | Outbound email payload. |
send_whatsapp_message
Send a proactive WhatsApp template message (queued, sent asynchronously). The template must be approved by Meta in your WABA. Returns a message_id — check delivery with view_outbound_message.
| Parameter | Type | Description |
|---|---|---|
from * | string | WhatsApp Business number configured in Freshdesk, e.g. '+14155550100'. |
language_code * | string | Template language code, e.g. 'en'. |
template_name * | string | Approved template name. |
to * | string | Recipient phone number in E.164 format. |
components | array | Template components: [{ type: 'header'|'body'|'button', parameters: [{ type: 'text', text: '…' }], sub_type?, index? }]. |
external_reference_id | string | Your own ID, echoed back in webhooks. |
extra | object | Additional top-level fields, e.g. note_policy{on_reply{mode}}, ticket_properties{tags[], custom_fields{}}. |
view_outbound_message
Get the status of a proactive outbound message (e.g. QUEUED, SENT, DELIVERED, READ, FAILED with error_code/error_message).
| Parameter | Type | Description |
|---|---|---|
message_id * | string | message_id returned by send_whatsapp_message. |
view_job_status
Check an async bulk job (bulk_update/bulk_delete/bulk_create tickets, bulk agents, bulk canned responses): status and per-item results.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | job_id returned by the bulk call. |
publish_contact_activity
Publish an external-app event (e.g. 'Placed order #123') to a contact's timeline. Payload activity: name (required, shown in timeline), actor{type: 'contact'|…, one of email|id|twitter_id|facebook_id|unique_external_id, is_actor?} (required, who did it), source{name, id} (required, which app), timestamp?, description?, link?, object?{…}, context?{…}.
| Parameter | Type | Description |
|---|---|---|
activity * | object | Activity object. |