HappyFox MCP by usefulapi is an MCP server published by io.usefulapi, hosted at happyfox.usefulapi.io. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 23 tools, including happyfox_list_tickets, happyfox_get_ticket, happyfox_list_contacts, happyfox_get_contact, happyfox_list_contact_groups.
Triage HappyFox tickets, contacts and KB articles, run reports, and reply or add private notes.
4,407 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List tickets, newest activity first, with optional filters and HappyFox's search syntax. Paginated (page_info + data). Search `q` examples: `status:"New","In Progress"`, `priority:"High"`, `assignee:none`, `tag:"billing"`, `contact:"jane@example.com"`, `unresponded:true`, `breached:true`, `duedate:overdue`, `created-after:"2026/01/31"`, `last-modified-on-or-after:"2026/09/01"`, `"Custom Field":"value"`. Separate several filters with a space. HappyFox: GET /api/1.1/json/tickets/.
| Parameter | Type | Description |
|---|---|---|
| q | string | HappyFox search/filter string (see description). |
| page | integer | Page number, starting at 1. |
| size | integer | Results per page, 1-50 (HappyFox default 10). |
| sort | string |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
| Sort key, e.g. created (newest first), createa, updated, due, priorityd. |
| fields | string | Comma-separated top-level fields to return, e.g. id,display_id,subject,status — keeps responses small. |
| status | string | `_all` (default), `_pending` (every pending-behaviour status), or a status id from happyfox_list_statuses. |
| category | integer | Only tickets in this category id (happyfox_list_categories). |
| minify_response | boolean | If true, return only ticket ids. |
{
"name": "happyfox_list_tickets",
"title": "List or search tickets",
"description": "List tickets, newest activity first, with optional filters and HappyFox's search syntax. Paginated (page_info + data). Search `q` examples: `status:\"New\",\"In Progress\"`, `priority:\"High\"`, `assignee:none`, `tag:\"billing\"`, `contact:\"jane@example.com\"`, `unresponded:true`, `breached:true`, `duedate:overdue`, `created-after:\"2026/01/31\"`, `last-modified-on-or-after:\"2026/09/01\"`, `\"Custom Field\":\"value\"`. Separate several filters with a space. HappyFox: GET /api/1.1/json/tickets/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"description": "HappyFox search/filter string (see description)."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"size": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (HappyFox default 10)."
},
"sort": {
"enum": [
"categorya",
"categoryd",
"subjecta",
"subjectd",
"due",
"statusa",
"statusd",
"prioritya",
"priorityd",
"updated",
"updatea",
"unresponded",
"createa",
"created",
"assigneea",
"assigneed",
"last_modifieda",
"last_modifiedd",
"ticketa",
"ticketd",
"clienta",
"clientd"
],
"type": "string",
"description": "Sort key, e.g. created (newest first), createa, updated, due, priorityd."
},
"fields": {
"type": "string",
"description": "Comma-separated top-level fields to return, e.g. id,display_id,subject,status — keeps responses small."
},
"status": {
"type": "string",
"description": "`_all` (default), `_pending` (every pending-behaviour status), or a status id from happyfox_list_statuses."
},
"category": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Only tickets in this category id (happyfox_list_categories)."
},
"minify_response": {
"type": "boolean",
"description": "If true, return only ticket ids."
}
}
},
"annotations": {
"title": "List or search tickets",
"readOnlyHint": true
}
}Fetch a ticket with its full conversation: status, priority, category, contact, assignee, custom fields, SLA breaches and every update (messages, private notes, property changes, attachment links that expire in 5 minutes). HappyFox: GET /api/1.1/json/ticket/<ticket_number>/.
| Parameter | Type | Description |
|---|---|---|
| ticket_number * | integer | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |
| show_cf_changes | boolean | Include the history of custom-field changes in the updates. |
{
"name": "happyfox_get_ticket",
"title": "Get one ticket",
"description": "Fetch a ticket with its full conversation: status, priority, category, contact, assignee, custom fields, SLA breaches and every update (messages, private notes, property changes, attachment links that expire in 5 minutes). HappyFox: GET /api/1.1/json/ticket/<ticket_number>/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_number"
],
"properties": {
"ticket_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id."
},
"show_cf_changes": {
"type": "boolean",
"description": "Include the history of custom-field changes in the updates."
}
}
},
"annotations": {
"title": "Get one ticket",
"readOnlyHint": true
}
}List contacts (customers), paginated, or search them. Search `q` fields: name, email, phone (digits only, no +), updated_since, created_since — e.g. `name:adam email:adam@example.com` (space-separated, all must match). HappyFox: GET /api/1.1/json/users/.
| Parameter | Type | Description |
|---|---|---|
| q | string | Search string, `field:value` pairs separated by spaces. |
| page | integer | Page number, starting at 1. |
| size | integer | Results per page, 1-50 (HappyFox default 10). |
{
"name": "happyfox_list_contacts",
"title": "List or search contacts",
"description": "List contacts (customers), paginated, or search them. Search `q` fields: name, email, phone (digits only, no +), updated_since, created_since — e.g. `name:adam email:adam@example.com` (space-separated, all must match). HappyFox: GET /api/1.1/json/users/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"q": {
"type": "string",
"description": "Search string, `field:value` pairs separated by spaces."
},
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"size": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (HappyFox default 10)."
}
}
},
"annotations": {
"title": "List or search contacts",
"readOnlyHint": true
}
}Fetch a contact by id or by email address — phones, contact groups, ticket counts and custom fields. HappyFox: GET /api/1.1/json/user/<id or email>/.
| Parameter | Type | Description |
|---|---|---|
| contact * | string | The contact's numeric id (e.g. "33") or email address. |
{
"name": "happyfox_get_contact",
"title": "Get one contact",
"description": "Fetch a contact by id or by email address — phones, contact groups, ticket counts and custom fields. HappyFox: GET /api/1.1/json/user/<id or email>/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact"
],
"properties": {
"contact": {
"type": "string",
"minLength": 1,
"description": "The contact's numeric id (e.g. \"33\") or email address."
}
}
},
"annotations": {
"title": "Get one contact",
"readOnlyHint": true
}
}List contact groups (typically customer companies) with their tagged email domains. HappyFox: GET /api/1.1/json/contact_groups/.
No parameters.
{
"name": "happyfox_list_contact_groups",
"title": "List contact groups",
"description": "List contact groups (typically customer companies) with their tagged email domains. HappyFox: GET /api/1.1/json/contact_groups/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List contact groups",
"readOnlyHint": true
}
}Fetch a contact group and its member contacts. HappyFox: GET /api/1.1/json/contact_group/<id>/.
| Parameter | Type | Description |
|---|---|---|
| contact_group_id * | integer | The contact group id. |
{
"name": "happyfox_get_contact_group",
"title": "Get one contact group",
"description": "Fetch a contact group and its member contacts. HappyFox: GET /api/1.1/json/contact_group/<id>/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_group_id"
],
"properties": {
"contact_group_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The contact group id."
}
}
},
"annotations": {
"title": "Get one contact group",
"readOnlyHint": true
}
}List ticket categories (queues) with their ids — needed to create a ticket or filter tickets. HappyFox: GET /api/1.1/json/categories/.
No parameters.
{
"name": "happyfox_list_categories",
"title": "List categories",
"description": "List ticket categories (queues) with their ids — needed to create a ticket or filter tickets. HappyFox: GET /api/1.1/json/categories/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List categories",
"readOnlyHint": true
}
}List agents (staff) with their ids, roles, categories and active flag — the `staff` id every reply/note needs, and assignee ids. HappyFox: GET /api/1.1/json/staff/.
No parameters.
{
"name": "happyfox_list_staff",
"title": "List agents",
"description": "List agents (staff) with their ids, roles, categories and active flag — the `staff` id every reply/note needs, and assignee ids. HappyFox: GET /api/1.1/json/staff/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List agents",
"readOnlyHint": true
}
}List ticket statuses with ids and behaviour (pending / completed) — ids used to change a ticket's status. HappyFox: GET /api/1.1/json/statuses/.
No parameters.
{
"name": "happyfox_list_statuses",
"title": "List statuses",
"description": "List ticket statuses with ids and behaviour (pending / completed) — ids used to change a ticket's status. HappyFox: GET /api/1.1/json/statuses/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List statuses",
"readOnlyHint": true
}
}List ticket priorities with ids — ids used to set a ticket's priority. HappyFox: GET /api/1.1/json/priorities/.
No parameters.
{
"name": "happyfox_list_priorities",
"title": "List priorities",
"description": "List ticket priorities with ids — ids used to set a ticket's priority. HappyFox: GET /api/1.1/json/priorities/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List priorities",
"readOnlyHint": true
}
}List ticket custom fields: id, type, choices (with choice ids), required flags and categories. Use the ids as t-cf-<id>. HappyFox: GET /api/1.1/json/ticket_custom_fields/.
No parameters.
{
"name": "happyfox_list_ticket_custom_fields",
"title": "List ticket custom fields",
"description": "List ticket custom fields: id, type, choices (with choice ids), required flags and categories. Use the ids as t-cf-<id>. HappyFox: GET /api/1.1/json/ticket_custom_fields/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List ticket custom fields",
"readOnlyHint": true
}
}List contact custom fields: id, type, choices and required flag. Use the ids as c-cf-<id>. HappyFox: GET /api/1.1/json/user_custom_fields/.
No parameters.
{
"name": "happyfox_list_contact_custom_fields",
"title": "List contact custom fields",
"description": "List contact custom fields: id, type, choices and required flag. Use the ids as c-cf-<id>. HappyFox: GET /api/1.1/json/user_custom_fields/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List contact custom fields",
"readOnlyHint": true
}
}List the saved reports (id, name, description) from the Reports module. HappyFox: GET /api/1.1/json/reports/.
No parameters.
{
"name": "happyfox_list_reports",
"title": "List reports",
"description": "List the saved reports (id, name, description) from the Reports module. HappyFox: GET /api/1.1/json/reports/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List reports",
"readOnlyHint": true
}
}Summary counts for a saved report: ticket, completed, assigned, pending and unassigned counts. HappyFox: GET /api/1.1/json/report/<id>/.
| Parameter | Type | Description |
|---|---|---|
| report_id * | integer | The report (from happyfox_list_reports) id. |
{
"name": "happyfox_get_report_summary",
"title": "Get a report summary",
"description": "Summary counts for a saved report: ticket, completed, assigned, pending and unassigned counts. HappyFox: GET /api/1.1/json/report/<id>/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"report_id"
],
"properties": {
"report_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The report (from happyfox_list_reports) id."
}
}
},
"annotations": {
"title": "Get a report summary",
"readOnlyHint": true
}
}The tabular view of a saved report — one row per ticket (display_id, subject, status, assignee, due date), paginated. HappyFox: GET /api/1.1/json/report/<id>/tabulardata/.
| Parameter | Type | Description |
|---|---|---|
| page | integer | Page number, starting at 1. |
| size | integer | Results per page, 1-50 (HappyFox default 10). |
| report_id * | integer | The report (from happyfox_list_reports) id. |
{
"name": "happyfox_get_report_tabular_data",
"title": "Get a report's ticket rows",
"description": "The tabular view of a saved report — one row per ticket (display_id, subject, status, assignee, due date), paginated. HappyFox: GET /api/1.1/json/report/<id>/tabulardata/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"report_id"
],
"properties": {
"page": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Page number, starting at 1."
},
"size": {
"type": "integer",
"maximum": 50,
"minimum": 1,
"description": "Results per page, 1-50 (HappyFox default 10)."
},
"report_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The report (from happyfox_list_reports) id."
}
}
},
"annotations": {
"title": "Get a report's ticket rows",
"readOnlyHint": true
}
}Export the knowledge base: external (customer-facing) articles by default, or internal (agent-only) articles. HappyFox: GET /api/1.1/json/kb/articles/ or /kb/internal-articles/.
| Parameter | Type | Description |
|---|---|---|
| internal | boolean | true = internal articles; false/omitted = external articles. |
{
"name": "happyfox_list_kb_articles",
"title": "Export knowledge-base articles",
"description": "Export the knowledge base: external (customer-facing) articles by default, or internal (agent-only) articles. HappyFox: GET /api/1.1/json/kb/articles/ or /kb/internal-articles/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"internal": {
"type": "boolean",
"description": "true = internal articles; false/omitted = external articles."
}
}
},
"annotations": {
"title": "Export knowledge-base articles",
"readOnlyHint": true
}
}Open a new ticket on behalf of a contact (created if the email is new). Needs a category id (a public category), a subject and a message in `text` or `html`. HappyFox: POST /api/1.1/json/tickets/.
| Parameter | Type | Description |
|---|---|---|
| cc | string | CC email addresses, as a comma-separated string. |
| bcc | string | BCC email addresses, as a comma-separated string. |
| html | string | Message in HTML (text or html is required). |
| name * | string | Contact name. |
| tags | string | Tags, as a comma-separated string. |
| text | string | Message in plain text (text or html is required). |
| email * | string | Contact email address. |
| phone | string | Contact phone number. |
| subject * | string | Ticket subject. |
| assignee | any | Agent id to assign the ticket to (from happyfox_list_staff); null to unassign. |
| category * | integer | The category (happyfox_list_categories; must be public) id. |
| due_date | string | Due date, yyyy-mm-dd or dd/mm/yyyy. |
| priority | integer | Priority id (happyfox_list_priorities); defaults to the default priority. |
| custom_fields | object | Custom field values keyed "t-cf-<id>" / "c-cf-<id>". Ticket (t-cf-) and contact (c-cf-) fields; required ones must be present. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
| visible_only_staff | boolean | true = private ticket, visible to staff only. |
{
"name": "happyfox_create_ticket",
"title": "Create a ticket",
"description": "Open a new ticket on behalf of a contact (created if the email is new). Needs a category id (a public category), a subject and a message in `text` or `html`. HappyFox: POST /api/1.1/json/tickets/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"email",
"subject",
"category"
],
"properties": {
"cc": {
"type": "string",
"description": "CC email addresses, as a comma-separated string."
},
"bcc": {
"type": "string",
"description": "BCC email addresses, as a comma-separated string."
},
"html": {
"type": "string",
"description": "Message in HTML (text or html is required)."
},
"name": {
"type": "string",
"minLength": 1,
"description": "Contact name."
},
"tags": {
"type": "string",
"description": "Tags, as a comma-separated string."
},
"text": {
"type": "string",
"description": "Message in plain text (text or html is required)."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Contact email address."
},
"phone": {
"type": "string",
"description": "Contact phone number."
},
"subject": {
"type": "string",
"minLength": 1,
"description": "Ticket subject."
},
"assignee": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
{
"type": "null"
}
],
"description": "Agent id to assign the ticket to (from happyfox_list_staff); null to unassign."
},
"category": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The category (happyfox_list_categories; must be public) id."
},
"due_date": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{2}\\/\\d{2}\\/\\d{4})$",
"description": "Due date, yyyy-mm-dd or dd/mm/yyyy."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Priority id (happyfox_list_priorities); defaults to the default priority."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"t-cf-<id>\" / \"c-cf-<id>\". Ticket (t-cf-) and contact (c-cf-) fields; required ones must be present. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(t\\-cf\\-|c\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
},
"visible_only_staff": {
"type": "boolean",
"description": "true = private ticket, visible to staff only."
}
}
},
"annotations": {
"title": "Create a ticket",
"destructiveHint": true
}
}Add an agent reply to a ticket and/or change its status, priority, assignee, due date or tags. The contact is emailed ONLY if update_customer is true (HappyFox default: false). With no message it just updates properties. Moving to a completed status may require the category's compulsory custom fields. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/staff_update/.
| Parameter | Type | Description |
|---|---|---|
| cc | string | CC email addresses, as a comma-separated string. |
| bcc | string | BCC email addresses, as a comma-separated string. |
| html | string | Reply in HTML. |
| tags | string | Tags to set, as a comma-separated string. |
| staff * | integer | The agent making the reply (happyfox_list_staff) id. |
| status | integer | New status id (happyfox_list_statuses). |
| subject | string | Override the subject of the email sent to the contact. |
| assignee | any | Agent id to assign the ticket to (from happyfox_list_staff); null to unassign. |
| due_date | string | Due date, yyyy-mm-dd or dd/mm/yyyy. |
| priority | integer | New priority id (happyfox_list_priorities). |
| plaintext | string | Reply in plain text. |
| time_spent | integer | Minutes to add to the ticket's time spent (some categories require it). |
| send_survey | boolean | true = send the satisfaction survey. |
| custom_fields | object | Custom field values keyed "t-cf-<id>". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
| ticket_number * | integer | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |
| update_customer | boolean | true = send the reply to the contact by email. Default false. |
{
"name": "happyfox_add_staff_reply",
"title": "Reply to a ticket as an agent",
"description": "Add an agent reply to a ticket and/or change its status, priority, assignee, due date or tags. The contact is emailed ONLY if update_customer is true (HappyFox default: false). With no message it just updates properties. Moving to a completed status may require the category's compulsory custom fields. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/staff_update/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_number",
"staff"
],
"properties": {
"cc": {
"type": "string",
"description": "CC email addresses, as a comma-separated string."
},
"bcc": {
"type": "string",
"description": "BCC email addresses, as a comma-separated string."
},
"html": {
"type": "string",
"description": "Reply in HTML."
},
"tags": {
"type": "string",
"description": "Tags to set, as a comma-separated string."
},
"staff": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The agent making the reply (happyfox_list_staff) id."
},
"status": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "New status id (happyfox_list_statuses)."
},
"subject": {
"type": "string",
"description": "Override the subject of the email sent to the contact."
},
"assignee": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
{
"type": "null"
}
],
"description": "Agent id to assign the ticket to (from happyfox_list_staff); null to unassign."
},
"due_date": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{2}\\/\\d{2}\\/\\d{4})$",
"description": "Due date, yyyy-mm-dd or dd/mm/yyyy."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "New priority id (happyfox_list_priorities)."
},
"plaintext": {
"type": "string",
"description": "Reply in plain text."
},
"time_spent": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minutes to add to the ticket's time spent (some categories require it)."
},
"send_survey": {
"type": "boolean",
"description": "true = send the satisfaction survey."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"t-cf-<id>\". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(t\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
},
"ticket_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id."
},
"update_customer": {
"type": "boolean",
"description": "true = send the reply to the contact by email. Default false."
}
}
},
"annotations": {
"title": "Reply to a ticket as an agent",
"destructiveHint": true
}
}Add an internal note (never sent to the contact), optionally alerting agents and changing status, priority, assignee, due date or tags. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/staff_pvtnote/.
| Parameter | Type | Description |
|---|---|---|
| html | string | Note in HTML. |
| tags | string | Tags to set, as a comma-separated string. |
| alert | string | Send a private alert: `s` = all subscribers, `c` = all agents in the ticket's category, or an agent id. |
| staff * | integer | The agent adding the note (happyfox_list_staff) id. |
| status | integer | New status id (happyfox_list_statuses). |
| assignee | any | Agent id to assign the ticket to (from happyfox_list_staff); null to unassign. |
| due_date | string | Due date, yyyy-mm-dd or dd/mm/yyyy. |
| priority | integer | New priority id (happyfox_list_priorities). |
| plaintext | string | Note in plain text. |
| time_spent | integer | Minutes to add to the ticket's time spent (some categories require it). |
| custom_fields | object | Custom field values keyed "t-cf-<id>". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
| ticket_number * | integer | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |
{
"name": "happyfox_add_private_note",
"title": "Add a private note to a ticket",
"description": "Add an internal note (never sent to the contact), optionally alerting agents and changing status, priority, assignee, due date or tags. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/staff_pvtnote/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_number",
"staff"
],
"properties": {
"html": {
"type": "string",
"description": "Note in HTML."
},
"tags": {
"type": "string",
"description": "Tags to set, as a comma-separated string."
},
"alert": {
"type": "string",
"pattern": "^(s|c|\\d+)$",
"description": "Send a private alert: `s` = all subscribers, `c` = all agents in the ticket's category, or an agent id."
},
"staff": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The agent adding the note (happyfox_list_staff) id."
},
"status": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "New status id (happyfox_list_statuses)."
},
"assignee": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
{
"type": "null"
}
],
"description": "Agent id to assign the ticket to (from happyfox_list_staff); null to unassign."
},
"due_date": {
"type": "string",
"pattern": "^(\\d{4}-\\d{2}-\\d{2}|\\d{2}\\/\\d{2}\\/\\d{4})$",
"description": "Due date, yyyy-mm-dd or dd/mm/yyyy."
},
"priority": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "New priority id (happyfox_list_priorities)."
},
"plaintext": {
"type": "string",
"description": "Note in plain text."
},
"time_spent": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minutes to add to the ticket's time spent (some categories require it)."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"t-cf-<id>\". Ticket fields (ids from happyfox_list_ticket_custom_fields); compulsory-on-completion fields are required when closing. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(t\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
},
"ticket_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id."
}
}
},
"annotations": {
"title": "Add a private note to a ticket",
"destructiveHint": true
}
}Add and/or remove tags on a ticket without touching anything else. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/update_tags/.
| Parameter | Type | Description |
|---|---|---|
| add | string | Tags to add, as a comma-separated string. |
| remove | string | Tags to remove, as a comma-separated string. |
| staff_id * | integer | The agent making the change (shown in the ticket history) id. |
| ticket_number * | integer | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |
{
"name": "happyfox_update_ticket_tags",
"title": "Add or remove ticket tags",
"description": "Add and/or remove tags on a ticket without touching anything else. HappyFox: POST /api/1.1/json/ticket/<ticket_number>/update_tags/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_number",
"staff_id"
],
"properties": {
"add": {
"type": "string",
"description": "Tags to add, as a comma-separated string."
},
"remove": {
"type": "string",
"description": "Tags to remove, as a comma-separated string."
},
"staff_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The agent making the change (shown in the ticket history) id."
},
"ticket_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id."
}
}
},
"annotations": {
"title": "Add or remove ticket tags",
"destructiveHint": true
}
}Set ticket custom-field values (t-cf-<id>, ids from happyfox_list_ticket_custom_fields). HappyFox: POST /api/1.1/json/ticket/<ticket_number>/update_custom_fields/.
| Parameter | Type | Description |
|---|---|---|
| staff * | integer | The agent making the change id. |
| custom_fields * | object | Custom field values keyed "t-cf-<id>". Ticket fields only. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
| ticket_number * | integer | The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id. |
{
"name": "happyfox_update_ticket_custom_fields",
"title": "Edit a ticket's custom fields",
"description": "Set ticket custom-field values (t-cf-<id>, ids from happyfox_list_ticket_custom_fields). HappyFox: POST /api/1.1/json/ticket/<ticket_number>/update_custom_fields/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ticket_number",
"staff",
"custom_fields"
],
"properties": {
"staff": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The agent making the change id."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"t-cf-<id>\". Ticket fields only. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(t\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
},
"ticket_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The ticket NUMBER (the `id` field, e.g. 3 for #DC00000003) — not the prefixed display id."
}
}
},
"annotations": {
"title": "Edit a ticket's custom fields",
"destructiveHint": true
}
}Create a contact. HappyFox treats this as create-or-edit keyed on email: if the email already exists that contact is updated, and any contact custom field NOT passed is reset — use happyfox_update_contact to edit an existing contact. HappyFox: POST /api/1.1/json/users/.
| Parameter | Type | Description |
|---|---|---|
| name * | string | Contact name. |
| email * | string | Contact email address. |
| phones | array | Phone numbers. |
| custom_fields | object | Custom field values keyed "c-cf-<id>". Contact fields (happyfox_list_contact_custom_fields); required ones must be present. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
{
"name": "happyfox_create_contact",
"title": "Create a contact",
"description": "Create a contact. HappyFox treats this as create-or-edit keyed on email: if the email already exists that contact is updated, and any contact custom field NOT passed is reset — use happyfox_update_contact to edit an existing contact. HappyFox: POST /api/1.1/json/users/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"email"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Contact name."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Contact email address."
},
"phones": {
"type": "array",
"items": {
"type": "object",
"required": [
"number"
],
"properties": {
"id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "Existing phone id, to edit that number instead of adding one."
},
"type": {
"enum": [
"mo",
"w",
"m",
"h",
"o"
],
"type": "string",
"description": "mo = mobile, w = work, m = main, h = home, o = other (default)."
},
"number": {
"type": "string",
"minLength": 1,
"description": "The phone number."
},
"is_primary": {
"type": "boolean",
"description": "Make this the primary number."
}
}
},
"description": "Phone numbers."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"c-cf-<id>\". Contact fields (happyfox_list_contact_custom_fields); required ones must be present. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(c\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
}
}
},
"annotations": {
"title": "Create a contact",
"destructiveHint": true
}
}Edit an existing contact's name, email or contact custom fields (c-cf-<id>). Phone numbers are edited via happyfox_create_contact with the phone id. HappyFox: POST /api/1.1/json/user/<id>/.
| Parameter | Type | Description |
|---|---|---|
| name | string | New name. |
| string | New email address. | |
| contact_id * | integer | The contact id. |
| custom_fields | object | Custom field values keyed "c-cf-<id>". Contact fields. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd. |
{
"name": "happyfox_update_contact",
"title": "Edit a contact",
"description": "Edit an existing contact's name, email or contact custom fields (c-cf-<id>). Phone numbers are edited via happyfox_create_contact with the phone id. HappyFox: POST /api/1.1/json/user/<id>/.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"contact_id"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "New name."
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "New email address."
},
"contact_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "The contact id."
},
"custom_fields": {
"type": "object",
"description": "Custom field values keyed \"c-cf-<id>\". Contact fields. Values: text = string, number = number, dropdown = choice id, multiple choice = array of choice ids, date = yyyy-mm-dd.",
"propertyNames": {
"type": "string",
"pattern": "^(c\\-cf\\-)\\d+$"
},
"additionalProperties": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "array",
"items": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
]
}
}
}
},
"annotations": {
"title": "Edit a contact",
"destructiveHint": true
}
}Tools for HappyFox, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which tickets are still open and what priority is each?"; "Show me the full conversation on ticket 1042."; "Which saved reports do I have, and what are their summary counts?". Read-only tools never change data; ask the user before a tool that creates, changes or deletes HappyFox data. Free plan: 50 tool calls per month. Run happyfox_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run happyfox_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run happyfox_upgrade without a plan: it returns both plans, each with a payment link for the user to open. happyfox_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.