freshdesk-mcp

v2.0.0
freshdesk-mcp Checked 4 days ago Published 1 month ago

MCP 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 }.

ParameterTypeDescription
company_idintegerOnly tickets for this company ID.
emailstringOnly tickets from this requester email.
filterstringPredefined view.
includestringComma-separated embeds: 'stats' (closed/resolved/first_responded times), 'requester', 'description'. Each costs 2 extra API credits.
order_bystringSort field (default created_at).
order_typestringSort direction (default desc).
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
requester_idintegerOnly tickets from this contact ID.
unique_external_idstringOnly tickets from the requester with this unique_external_id.
updated_sincestringISO-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.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
includestringComma-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…

ParameterTypeDescription
ticket *objectTicket 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.

ParameterTypeDescription
ticket *objectFields to change.
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

delete_ticket

Move a ticket to Trash (soft delete). Reversible with restore_ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

restore_ticket

Restore a soft-deleted ticket from Trash.

ParameterTypeDescription
ticket_id *integerFreshdesk 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 }.

ParameterTypeDescription
query *stringQuery without the surrounding double quotes (they're added automatically).
pageintegerResult 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.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
fetch_allbooleanFollow pagination until the last page (default true).
max_pagesintegerSafety cap on pages fetched when fetch_all=true.
pageintegerFirst page to fetch.
per_pageintegerConversations 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.

ParameterTypeDescription
reply *objectReply payload, e.g. { body: '<p>Hi…</p>' }.
ticket_id *integerFreshdesk 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.

ParameterTypeDescription
note *objectNote payload, e.g. { body: '…', private: true }.
ticket_id *integerFreshdesk 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 }.

ParameterTypeDescription
conversation *object{ body: '<new HTML>' }
conversation_id *integerConversation (note) ID from get_ticket_conversation.

delete_conversation

Permanently delete a note/reply from a ticket. Irreversible.

ParameterTypeDescription
conversation_id *integerConversation 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.

ParameterTypeDescription
forward *objectForward payload.
ticket_id *integerFreshdesk 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.

ParameterTypeDescription
reply *object{ body, to_emails, body_text?, user_id? }
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

delete_attachment

Permanently delete an attachment (from a ticket, conversation, etc.) by attachment ID. Irreversible.

ParameterTypeDescription
attachment_id *integerAttachment ID (from a ticket/conversation 'attachments' array).

view_ticket_summary

Get the agent-written/AI summary attached to a ticket, if any.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

update_ticket_summary

Create or replace a ticket's summary.

ParameterTypeDescription
body *stringSummary content (HTML allowed).
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

delete_ticket_summary

Remove a ticket's summary.

ParameterTypeDescription
ticket_id *integerFreshdesk 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.

ParameterTypeDescription
field_name *stringField API name. 'type' is mapped to 'ticket_type'.

view_ticket_field

Admin: view a ticket field with full configuration (choices, sections, portal settings).

ParameterTypeDescription
ticket_field_id *integerTicket 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[].

ParameterTypeDescription
ticket_field *objectTicket field payload.

update_ticket_field

Admin: update a ticket field (label, required flags, position, choices…). Only sent keys change.

ParameterTypeDescription
ticket_field *objectFields to change.
ticket_field_id *integerTicket field ID (from get_ticket_fields).

delete_ticket_field

Admin: delete a custom ticket field. Data stored in it becomes inaccessible.

ParameterTypeDescription
ticket_field_id *integerTicket 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).

ParameterTypeDescription
ticket_field_id *integerTicket field ID (from get_ticket_fields).

view_ticket_field_section

Admin: view one dynamic section of a ticket field.

ParameterTypeDescription
section_id *integerSection ID.
ticket_field_id *integerTicket field ID (from get_ticket_fields).

create_ticket_field_section

Admin: create a dynamic section on a dropdown ticket field.

ParameterTypeDescription
choice_ids *arrayDropdown choice IDs of the parent field that reveal this section.
label *stringSection name.
ticket_field_id *integerTicket field ID (from get_ticket_fields).

update_ticket_field_section

Admin: rename a dynamic section or change which choices reveal it.

ParameterTypeDescription
section_id *integerSection ID.
ticket_field_id *integerTicket field ID (from get_ticket_fields).
choice_idsarrayDropdown choice IDs of the parent field that reveal this section.
labelstringSection name.

delete_ticket_field_section

Admin: delete a dynamic section from a ticket field.

ParameterTypeDescription
section_id *integerSection ID.
ticket_field_id *integerTicket 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.

ParameterTypeDescription
form_id *integerTicket 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? }.

ParameterTypeDescription
form *objectTicket form payload.

update_ticket_form

Update a ticket form's title, description or fields[] (same field shape as create_ticket_form).

ParameterTypeDescription
form *objectFields to change.
form_id *integerTicket form ID.

delete_ticket_form

Delete a ticket form.

ParameterTypeDescription
form_id *integerTicket form ID.

clone_ticket_form

Duplicate a ticket form (creates 'Copy of …' with the same fields).

ParameterTypeDescription
form_id *integerTicket form ID.

view_ticket_form_field

View how one ticket field is configured inside a ticket form.

ParameterTypeDescription
field_id *integerTicket field ID (from get_ticket_fields).
form_id *integerTicket 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.

ParameterTypeDescription
field *objectForm field settings.
field_id *integerTicket field ID (from get_ticket_fields).
form_id *integerTicket form ID.

delete_ticket_form_field

Remove a field from a ticket form (the ticket field itself is kept).

ParameterTypeDescription
field_id *integerTicket field ID (from get_ticket_fields).
form_id *integerTicket 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.

ParameterTypeDescription
tickets *arrayTicket 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.

ParameterTypeDescription
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.

ParameterTypeDescription
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).

ParameterTypeDescription
merge *objectMerge 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).

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_archived_ticket

View an archived ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk 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}.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
fetch_allbooleanFollow pagination until the last page (default true).
max_pagesintegerSafety cap on pages fetched when fetch_all=true.
pageintegerFirst page to fetch.
per_pageintegerConversations per page (max 100).

delete_archived_ticket

Permanently delete an archived ticket. Irreversible.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

list_ticket_watchers

List agent IDs watching a ticket (watchers get notified of updates).

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

add_ticket_watcher

Add an agent as a watcher on a ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
user_id *integerAgent ID to add as watcher.

remove_ticket_watcher

Stop watching a ticket as the API-key owner (Freshdesk only lets the current agent unwatch).

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

bulk_watch_tickets

Add one agent as watcher on many tickets (defaults to the API-key owner).

ParameterTypeDescription
ids *arrayTicket IDs.
user_idintegerAgent ID; omit for the current agent.

bulk_unwatch_tickets

Stop watching many tickets as the API-key owner.

ParameterTypeDescription
ids *arrayTicket 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.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

get_prime_association

Get the prime (parent or tracker) ticket of a child/related ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk 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.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

add_ticket_accesses

Give users (contacts) access to view a ticket in the portal.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
user_ids *arrayUser IDs to grant.

update_ticket_accesses

Grant and/or revoke ticket access for specific users in one call.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).
addarrayUser IDs to grant.
removearrayUser IDs to revoke.

remove_ticket_accesses

Revoke ALL extra user access on a ticket (requester keeps access).

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

list_ticket_time_entries

List time entries logged on a ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk ticket ID (the numeric display ID).

list_ticket_satisfaction_ratings

List CSAT ratings submitted for a ticket.

ParameterTypeDescription
ticket_id *integerFreshdesk 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).

ParameterTypeDescription
attachment_id *integerAttachment ID.
ticket_id *integerTicket ID.
archivedbooleantrue 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.

ParameterTypeDescription
ticket_id *integerTicket ID.
archivedbooleantrue if the ticket is archived.
include_conversationsbooleanAlso scan reply/note bodies (default true).
max_imagesintegerMax images returned.
min_dimensionintegerSkip 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.

ParameterTypeDescription
company_idintegerContacts of this company.
contact_typestringFilter by contact type.
emailstringExact email match.
mobilestringExact mobile number.
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
phonestringExact phone number.
statestringContact state.
updated_sincestringISO-8601 UTC timestamp.

get_contact

Get a contact by ID (name, emails, phones, company, custom_fields, tags…).

ParameterTypeDescription
contact_id *integerContact (customer) ID.

search_contacts

Autocomplete contacts by the start of their name (fast, partial match). Returns id + name only.

ParameterTypeDescription
query *stringName 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 }.

ParameterTypeDescription
query *stringQuery without the surrounding double quotes.
pageintegerResult 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.

ParameterTypeDescription
contact *objectContact 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.

ParameterTypeDescription
contact *objectFields to change.
contact_id *integerContact (customer) ID.

delete_contact

Soft-delete a contact (moves to Deleted; reversible with restore_contact).

ParameterTypeDescription
contact_id *integerContact (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.

ParameterTypeDescription
contact_id *integerContact (customer) ID.
forcebooleantrue = hard-delete even if not soft-deleted first.

restore_contact

Restore a soft-deleted contact.

ParameterTypeDescription
contact_id *integerContact (customer) ID.

list_deleted_contacts

List soft-deleted contacts (shortcut for list_contacts state='deleted').

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems 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.

ParameterTypeDescription
merge *objectMerge 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').

ParameterTypeDescription
contact_id *integerContact (customer) ID.
agentobjectOptional agent settings.

send_contact_invite

Email a customer-portal activation invite to a contact.

ParameterTypeDescription
contact_id *integerContact (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.

ParameterTypeDescription
default_fields *arrayDefault contact fields to export, e.g. ['name','email','phone','company_name'].
custom_fieldsarrayCustom contact field names to export.

view_contact_export

Check a contact export job; when status is 'completed' the response includes the download url.

ParameterTypeDescription
export_id *stringExport id returned by export_contacts.

list_contact_imports

List the 5 most recent contact CSV imports (status, record counts, failure report).

ParameterTypeDescription
statusstringOnly imports in this state.

view_contact_import

View a contact import: progress, completion estimate or failures.

ParameterTypeDescription
import_id *integerImport ID.

cancel_contact_import

Cancel an in-progress contact import.

ParameterTypeDescription
import_id *integerImport ID.

list_contact_fields

List all contact field definitions (system + custom) with names, types and choices.

view_contact_field

View one contact field definition.

ParameterTypeDescription
contact_field_id *integerContact 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[].

ParameterTypeDescription
contact_field *objectContact field payload.

update_contact_field

Admin: update a contact field; only sent keys change.

ParameterTypeDescription
contact_field *objectFields to change.
contact_field_id *integerContact field ID.

delete_contact_field

Admin: delete a custom contact field.

ParameterTypeDescription
contact_field_id *integerContact field ID.

get_agents

List agents (support staff) with their contact info, ticket_scope, group/role IDs and availability flag.

ParameterTypeDescription
emailstringExact email filter.
mobilestringExact mobile filter.
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
phonestringExact phone filter.
statestringAgent type filter.

view_agent

Get one agent by ID.

ParameterTypeDescription
agent_id *integerAgent 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.

ParameterTypeDescription
query *stringName/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.

ParameterTypeDescription
agent *objectAgent 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.

ParameterTypeDescription
agents *arrayAgent 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.

ParameterTypeDescription
agent *objectFields to change.
agent_id *integerAgent ID (not the contact ID).

delete_agent

Delete an agent: they are downgraded to a contact (their tickets are kept).

ParameterTypeDescription
agent_id *integerAgent 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.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_agent_availability

View one agent's per-channel availability and assignment load.

ParameterTypeDescription
agent_id *integerAgent ID (not the contact ID).

update_agent_availability

Update an agent's load settings: per-channel assignment_limit and/or availability_control.

ParameterTypeDescription
agent_id *integerAgent ID (not the contact ID).
availability_controlstringWho controls availability, e.g. 'agent_controlled'.
channel_availabilityarrayPer-channel limits to set.

list_groups

List agent groups (teams tickets can be assigned to).

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_group

Get one group by ID.

ParameterTypeDescription
group_id *integerGroup 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').

ParameterTypeDescription
group *objectGroup 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').

ParameterTypeDescription
group *objectFields to change.
group_id *integerGroup ID.

delete_group

Delete a group. Tickets assigned to it become unassigned from the group.

ParameterTypeDescription
group_id *integerGroup ID.

list_admin_groups

List groups via the admin API (includes routing/omnichannel settings). Prefer this on Omni accounts.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_admin_group

Get one group via the admin API (with routing settings).

ParameterTypeDescription
group_id *integerGroup 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[]}.

ParameterTypeDescription
group *objectGroup 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[]}.

ParameterTypeDescription
group *objectFields to change.
group_id *integerGroup ID.

delete_admin_group

Delete a group via the admin API.

ParameterTypeDescription
group_id *integerGroup ID.

list_group_agents

List the agents who are members of a group.

ParameterTypeDescription
group_id *integerGroup ID.

update_group_agents

Add and/or remove agents in a group without resending the full member list.

ParameterTypeDescription
group_id *integerGroup ID.
addarrayAgent IDs to add.
removearrayAgent 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).

ParameterTypeDescription
folder_id *integerCanned response folder ID.

list_canned_responses

List canned responses in a folder with full content (content_html, attachments).

ParameterTypeDescription
folder_id *integerCanned response folder ID.

view_canned_response

Get one canned response with its HTML content. Placeholders like {{ticket.requester.name}} are returned unrendered.

ParameterTypeDescription
canned_response_id *integerCanned 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.

ParameterTypeDescription
canned_response *objectCanned 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.

ParameterTypeDescription
canned_responses *arrayCanned 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).

ParameterTypeDescription
canned_response *objectFields to change.
canned_response_id *integerCanned response ID.

delete_canned_response

Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Delete a canned response.

ParameterTypeDescription
canned_response_id *integerCanned response ID.

create_canned_response_folder

Create a canned response folder. Payload: { name }.

ParameterTypeDescription
folder *object{ name }

update_canned_response_folder

Rename a canned response folder. Payload: { name }.

ParameterTypeDescription
folder *object{ name }
folder_id *integerCanned 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.

ParameterTypeDescription
folder_id *integerCanned 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.

ParameterTypeDescription
term *stringSearch keyword(s).

list_solution_categories

List Knowledge Base categories (top level of category → folder → article).

ParameterTypeDescription
languagestringOptional 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.

ParameterTypeDescription
category_id *integerSolution category ID.
languagestringOptional 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).

ParameterTypeDescription
category *objectCategory payload.

update_solution_category

Update a category (or its translation when language is set); only sent keys change.

ParameterTypeDescription
category *objectFields to change.
category_id *integerSolution category ID.
languagestringOptional 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.

ParameterTypeDescription
category_id *integerSolution category ID.

list_solution_folders

List top-level folders in a category (with articles_count, sub_folders_count, visibility).

ParameterTypeDescription
category_id *integerSolution category ID.
languagestringOptional 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.

ParameterTypeDescription
folder_id *integerSolution folder ID.
languagestringOptional 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.

ParameterTypeDescription
folder_id *integerSolution folder ID.
languagestringOptional 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).

ParameterTypeDescription
category_id *integerSolution category ID.
folder *objectFolder 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).

ParameterTypeDescription
folder *objectFields to change.
folder_id *integerSolution folder ID.
languagestringOptional 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.

ParameterTypeDescription
folder_id *integerSolution folder ID.

list_solution_articles

List articles in a folder (full content included).

ParameterTypeDescription
folder_id *integerSolution folder ID.
languagestringOptional 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.

ParameterTypeDescription
article_id *integerSolution article ID.
languagestringOptional 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.

ParameterTypeDescription
article *objectArticle payload.
folder_id *integerSolution 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.

ParameterTypeDescription
article *objectFields to change.
article_id *integerSolution article ID.
languagestringOptional 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.

ParameterTypeDescription
article_id *integerSolution 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).

ParameterTypeDescription
id *integerID of the existing category/folder/article.
kind *stringWhat to translate.
language *stringTarget language code, e.g. 'fr'.
translation *objectTranslated content.

list_companies

List companies (customer organisations) with pagination. Returns { companies, pagination }.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
updated_sincestringISO-8601 UTC timestamp.

view_company

Get a company by ID (name, domains, health_score, account_tier, renewal_date, industry, custom_fields…).

ParameterTypeDescription
company_id *integerCompany 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.

ParameterTypeDescription
query *stringName 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 }.

ParameterTypeDescription
query *stringQuery without the surrounding double quotes.
pageintegerResult 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{}.

ParameterTypeDescription
company *objectCompany payload.

update_company

Partially update a company; only sent keys change. Setting domains replaces the whole list.

ParameterTypeDescription
company *objectFields to change.
company_id *integerCompany ID.

delete_company

Permanently delete a company. Its contacts and tickets are kept but unlinked. Irreversible.

ParameterTypeDescription
company_id *integerCompany ID.

list_company_contacts

List contacts that belong to a company.

ParameterTypeDescription
company_id *integerCompany ID.
pageintegerPage number, starts at 1.
per_pageintegerItems 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.

ParameterTypeDescription
default_fields *arrayDefault company fields to export, e.g. ['name','domains','description'].
custom_fieldsarrayCustom company field names to export.

view_company_export

Check a company export job; when complete the response includes the CSV download url.

ParameterTypeDescription
export_id *stringExport id returned by export_companies.

list_company_imports

List the 5 most recent company CSV imports (status, record counts, failure report).

ParameterTypeDescription
statusstringOnly imports in this state.

view_company_import

View a company import: progress, completion estimate or failures.

ParameterTypeDescription
import_id *integerImport ID.

cancel_company_import

Cancel an in-progress company import.

ParameterTypeDescription
import_id *integerImport ID.

list_company_fields

List all company field definitions (system + custom) with names, types and choices.

view_company_field

View one company field definition.

ParameterTypeDescription
company_field_id *integerCompany 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[].

ParameterTypeDescription
company_field *objectCompany field payload.

update_company_field

Admin: update a company field; only sent keys change.

ParameterTypeDescription
company_field *objectFields to change.
company_field_id *integerCompany field ID.

delete_company_field

Admin: delete a custom company field.

ParameterTypeDescription
company_field_id *integerCompany field ID.

list_skills

List routing skills (used by skill-based ticket assignment) with their matching conditions and agents.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_skill

Get one routing skill.

ParameterTypeDescription
skill_id *integerSkill 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[]}].

ParameterTypeDescription
skill *objectSkill 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[]}].

ParameterTypeDescription
skill *objectFields to change.
skill_id *integerSkill ID.

delete_skill

Delete a routing skill.

ParameterTypeDescription
skill_id *integerSkill ID.

list_roles

List agent roles (Account Admin, Admin, Supervisor, Agent, custom…). Use the IDs in agent role_ids.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_role

Get one agent role.

ParameterTypeDescription
role_id *integerRole ID.

list_products

List products (brands) configured in a multi-product helpdesk. Use the IDs in ticket product_id.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).

view_product

Get one product.

ParameterTypeDescription
product_id *integerProduct 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.

ParameterTypeDescription
business_hours_id *integerBusiness 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.

ParameterTypeDescription
sla_policy_id *integerSLA 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}.

ParameterTypeDescription
sla_policy *objectSLA 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}.

ParameterTypeDescription
sla_policy *objectFields to change.
sla_policy_id *integerSLA 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.

ParameterTypeDescription
email_config_id *integerEmail config ID.

list_email_mailboxes

List email mailboxes (support addresses with their routing group/product and IMAP/SMTP settings).

ParameterTypeDescription
activebooleanOnly active (true) or inactive (false).
forward_emailstringExact forward email.
group_idintegerMailboxes routing to this group.
order_bystringSort field (required when order_type is set).
order_typestringSort direction.
product_idintegerMailboxes of this product.
support_emailstringExact support email.

view_email_mailbox

Get one email mailbox.

ParameterTypeDescription
mailbox_id *integerMailbox 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).

ParameterTypeDescription
mailbox *objectMailbox 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).

ParameterTypeDescription
mailbox *objectFields to change.
mailbox_id *integerMailbox ID.

delete_email_mailbox

Delete an email mailbox. Emails to that address stop creating tickets.

ParameterTypeDescription
mailbox_id *integerMailbox 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.

ParameterTypeDescription
allow_agent_to_initiate_conversationbooleanAllow agents to send outbound emails that become tickets.
create_requester_using_reply_tobooleanCreate requester from Reply-To instead of From.
original_sender_as_requester_for_forwardbooleanWhen an agent forwards an email to the helpdesk, make the original sender the requester.
personalized_email_repliesbooleanAgents' 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.

ParameterTypeDescription
emails *arrayFull 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.

ParameterTypeDescription
date_range *objectOnly data created within this range.
resources *arrayResources to export.
output_formatstringExport 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}.

ParameterTypeDescription
thread *objectThread payload.

view_thread

Get a collaboration thread.

ParameterTypeDescription
thread_id *string | numberCollaboration thread ID.

update_thread

Update a collaboration thread (title, participants, additional_info).

ParameterTypeDescription
thread *objectFields to change.
thread_id *string | numberCollaboration thread ID.

delete_thread

Delete a collaboration thread.

ParameterTypeDescription
thread_id *string | numberCollaboration 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.

ParameterTypeDescription
message *objectMessage payload.
thread_id *string | numberCollaboration thread ID.

view_thread_message

Get a thread message.

ParameterTypeDescription
message_id *string | numberThread message ID.

get_thread_message_quote

Get the email-style quoted HTML of a thread message, to append when replying.

ParameterTypeDescription
message_id *string | numberThread message ID.

update_thread_message

Update a thread message's body or metadata.

ParameterTypeDescription
message *objectFields to change.
message_id *string | numberThread message ID.

delete_thread_message

Delete a thread message.

ParameterTypeDescription
message_id *string | numberThread message ID.

list_time_entries

List time entries across all tickets, filterable by agent, company, billable flag and execution date range.

ParameterTypeDescription
agent_idintegerOnly entries by this agent.
billablebooleanOnly billable (true) or non-billable (false).
company_idintegerOnly entries on this company's tickets.
executed_afterstringISO-8601 UTC timestamp.
executed_beforestringISO-8601 UTC timestamp.
pageintegerPage number, starts at 1.
per_pageintegerItems 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.

ParameterTypeDescription
ticket_id *integerTicket ID.
time_entry *objectTime 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.

ParameterTypeDescription
time_entry *objectFields to change.
time_entry_id *integerTime entry ID.

toggle_time_entry_timer

Start a stopped timer or stop a running one on a time entry.

ParameterTypeDescription
time_entry_id *integerTime entry ID.

delete_time_entry

Delete a time entry.

ParameterTypeDescription
time_entry_id *integerTime 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.

ParameterTypeDescription
category_id *integerForum category ID.

create_forum_category

Create a forum category. Payload: name (required), description.

ParameterTypeDescription
category *object{ name, description? }

update_forum_category

Update a forum category (name, description).

ParameterTypeDescription
category *objectFields to change.
category_id *integerForum category ID.

delete_forum_category

Delete a forum category with all its forums and topics. Irreversible.

ParameterTypeDescription
category_id *integerForum category ID.

list_forums

List forums in a forum category.

ParameterTypeDescription
category_id *integerForum category ID.

view_forum

Get one forum.

ParameterTypeDescription
forum_id *integerForum 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).

ParameterTypeDescription
category_id *integerForum category ID.
forum *objectForum payload.

update_forum

Update a forum (name, description, forum_type, forum_visibility, company_ids[], forum_category_id to move it).

ParameterTypeDescription
forum *objectFields to change.
forum_id *integerForum ID.

delete_forum

Delete a forum with all its topics. Irreversible.

ParameterTypeDescription
forum_id *integerForum ID.

list_topics

List topics (threads) in a forum.

ParameterTypeDescription
forum_id *integerForum ID.

view_topic

Get one forum topic.

ParameterTypeDescription
topic_id *integerTopic ID.

create_topic

Create a topic in a forum. Payload: title, message (HTML) required; sticky, locked, stamp_type optional.

ParameterTypeDescription
forum_id *integerForum ID.
topic *objectTopic payload.

update_topic

Update a forum topic (title, message, sticky, locked, stamp_type, forum_id to move it).

ParameterTypeDescription
topic *objectFields to change.
topic_id *integerTopic ID.

delete_topic

Delete a forum topic and its comments.

ParameterTypeDescription
topic_id *integerTopic ID.

list_topic_comments

List comments on a forum topic.

ParameterTypeDescription
topic_id *integerTopic ID.

create_topic_comment

Comment on a forum topic. Payload: { body (HTML, required) }.

ParameterTypeDescription
comment *objectComment payload.
topic_id *integerTopic ID.

update_topic_comment

Update a forum comment. Payload: { body?, answer? (true = mark as the topic's answer) }.

ParameterTypeDescription
comment *objectFields to change.
comment_id *integerComment ID.

delete_topic_comment

Delete a forum comment.

ParameterTypeDescription
comment_id *integerComment ID.

follow_discussion

Monitor (follow) a forum or topic so the user is notified of new posts.

ParameterTypeDescription
id *integerForum or topic ID.
kind *stringWhat to follow.
user_idintegerUser ID; omit for the API-key owner (admins can act for others).

unfollow_discussion

Stop monitoring a forum or topic.

ParameterTypeDescription
id *integerForum or topic ID.
kind *stringWhat to follow.
user_idintegerUser 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 }.

ParameterTypeDescription
id *integerForum or topic ID.
kind *stringWhat to follow.
user_idintegerUser ID; omit for the API-key owner (admins can act for others).

list_followed_topics

List forum topics monitored by a user.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
user_idintegerUser ID; omit for the API-key owner (admins can act for others).

list_participated_topics

List forum topics a user has posted in.

ParameterTypeDescription
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
user_idintegerUser 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.

ParameterTypeDescription
next_tokenstringToken from paging.next of the previous response.
per_pageintegerPage size (default 30, max 100).
prev_tokenstringToken from paging.previous of the previous response.
statestringOnly surveys in this state.

list_survey_responses

List responses to a CSAT survey (new engine), filterable by date and completion status.

ParameterTypeDescription
survey_id *stringSurvey ID (UUID) from list_csat_surveys.
created_sincestringISO-8601; only responses created on/after this.
next_tokenstringToken from paging.next of the previous response.
per_pageintegerPage size (default 30, max 100).
prev_tokenstringToken from paging.previous of the previous response.
statusstringResponse 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.

ParameterTypeDescription
answers *arrayOne entry per question; no duplicates.
survey_id *stringSurvey ID (UUID).
ticket_id *integerTicket being rated.

list_surveys

List classic satisfaction surveys (legacy engine) and their questions.

ParameterTypeDescription
statestringOnly the active survey.

view_survey

Undocumented endpoint (not in the public API reference) — may return 404 on some accounts. Get one classic satisfaction survey.

ParameterTypeDescription
survey_id *integerSurvey 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.

ParameterTypeDescription
created_sincestringISO-8601 UTC timestamp.
pageintegerPage number, starts at 1.
per_pageintegerItems per page (max 100).
user_idintegerOnly 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?.

ParameterTypeDescription
rating *object{ ratings: {...}, feedback? }
ticket_id *integerTicket ID.

list_automation_rules

List automation rules of one type, in execution order.

ParameterTypeDescription
automation_type_id *numberRule 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.

ParameterTypeDescription
automation_type_id *numberRule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates.
rule_id *integerAutomation 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}].

ParameterTypeDescription
automation_type_id *numberRule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates.
rule *objectRule 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}].

ParameterTypeDescription
automation_type_id *numberRule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates.
rule *objectFields to change.
rule_id *integerAutomation rule ID.

delete_automation_rule

Delete an automation rule.

ParameterTypeDescription
automation_type_id *numberRule type: 1=on ticket creation, 3=hourly (time) triggers, 4=on ticket updates.
rule_id *integerAutomation 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.

ParameterTypeDescription
scenario_id *integerScenario 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).

ParameterTypeDescription
scenario_id *integerScenario ID.
ticket_id *integerTicket 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.

ParameterTypeDescription
schema_id *stringCustom 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).

ParameterTypeDescription
schema_id *stringCustom object schema ID.
filtersobjectField filters.
next_tokenstringCursor from _links.next.
page_sizeintegerRecords per page (default 20, max 100).
sort_bystringField name to sort by.
sort_orderstringSort direction.

count_custom_object_records

Count records of a custom object.

ParameterTypeDescription
schema_id *stringCustom object schema ID.

view_custom_object_record

Get one custom object record.

ParameterTypeDescription
record_id *stringRecord display_id, e.g. 'BKG-1'.
schema_id *stringCustom 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).

ParameterTypeDescription
record *object{ data: {...} }
schema_id *stringCustom 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.

ParameterTypeDescription
record *object{ data: {...}, version? }
record_id *stringRecord display_id, e.g. 'BKG-1'.
schema_id *stringCustom object schema ID.

delete_custom_object_record

Delete a custom object record.

ParameterTypeDescription
record_id *stringRecord display_id, e.g. 'BKG-1'.
schema_id *stringCustom 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.

ParameterTypeDescription
filterstringExtra query AND-ed with type:'Service Task'.
pageintegerResult page 1-10.

view_service_task

Get one FSM service task (a ticket) including its cf_fsm_* custom fields.

ParameterTypeDescription
task_id *integerService 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.

ParameterTypeDescription
task *objectTicket payload for the task.
parent_idintegerParent 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).

ParameterTypeDescription
task *objectFields to change.
task_id *integerService task (ticket) ID.

delete_service_task

Delete (trash) an FSM service task.

ParameterTypeDescription
task_id *integerService 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.

ParameterTypeDescription
email *objectOutbound 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.

ParameterTypeDescription
from *stringWhatsApp Business number configured in Freshdesk, e.g. '+14155550100'.
language_code *stringTemplate language code, e.g. 'en'.
template_name *stringApproved template name.
to *stringRecipient phone number in E.164 format.
componentsarrayTemplate components: [{ type: 'header'|'body'|'button', parameters: [{ type: 'text', text: '…' }], sub_type?, index? }].
external_reference_idstringYour own ID, echoed back in webhooks.
extraobjectAdditional 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).

ParameterTypeDescription
message_id *stringmessage_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.

ParameterTypeDescription
job_id *stringjob_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?{…}.

ParameterTypeDescription
activity *objectActivity object.