Kayako MCP by usefulapi

v1.41.1
io.usefulapi/kayako Checked 3 days ago Published 2 days ago

Search Kayako cases, replies, customers and help-center articles, and reply to or create cases.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

kayako_get_me Get the current user

Fetch the Kayako user these credentials belong to (name, role, teams, locale). A cheap way to confirm the subdomain and credentials work. Kayako: GET /api/v1/me.json.

kayako_list_cases List cases

List cases (conversations / tickets), newest-updated first. Filter by status type, tags, max priority level, or a requester identity (email, Twitter screen name, Facebook username, phone); or fetch specific ids. Nested resources are references unless `include` expands them. Kayako: GET /api/v1/cases.json.

ParameterTypeDescription
fieldsstringPartial-output field rules, e.g. '+tags' to add tags to a case, or 'subject,status' to return only those.
identity_typestringFilter by the requester's identity type; requires identity_value.
identity_valuestringEmail, Facebook username, Twitter screen name or phone number, matching identity_type.
idsarrayFetch these case ids instead of filtering.
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.
priorityintegerInclude cases whose priority level is less than or equal to this level.
statusarrayStatus types to include, e.g. ['OPEN','PENDING'].
tagsstringComma-separated tags to filter by.

kayako_get_case Get a case

Fetch one case (conversation) by id: subject, requester, assignee, status, priority, type, SLA metrics, custom fields, last post preview. Use include (e.g. 'user,case_status,case_priority,team') to expand references and fields='+tags' for tags. Kayako: GET /api/v1/cases/{id}.json.

ParameterTypeDescription
case_id *integerThe case id (integer).
fieldsstringPartial-output field rules, e.g. '+tags' to add tags to a case, or 'subject,status' to return only those.
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.

kayako_list_case_posts List a case's posts

Read a case's timeline: customer messages, agent replies and internal notes (newest first). By default activities are excluded; filters='NOTES' for internal notes only, 'MESSAGES' for messages, 'ALL' to include activities. Paginate with before_id / after_id (one at a time). Kayako: GET /api/v1/cases/{id}/posts.json.

ParameterTypeDescription
case_id *integerThe case id (integer).
after_idintegerCursor: return the page after this post id.
before_idintegerCursor: return the page before this post id.
filtersstringWhich kinds of post to return.
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.

kayako_list_channels List reply channels

List the channels (MAIL mailbox, TWITTER, FACEBOOK, NOTE) usable for a reply on an existing case (pass case_id) or for a new case (omit case_id; optionally pass the requester's user_id). A channel's account.id is the channel_id to pass to kayako_reply_to_case / kayako_create_case. Kayako: GET /api/v1/cases/{id}/reply/channels.json or GET /api/v1/cases/channels.json.

ParameterTypeDescription
case_idintegerExisting case to reply on.
user_idintegerRequester of a NEW case (ignored with case_id).

kayako_list_case_options List case statuses, priorities or types

List the instance's case statuses (id, label, type), priorities (id, label, level) or types (id, label, type) — the ids needed for status_id / priority_id / type_id when creating, updating or replying to a case. Kayako: GET /api/v1/cases/{statuses|priorities|types}.json.

ParameterTypeDescription
kind *stringWhich list to return.

kayako_list_users List users

List users (customers, collaborators, agents, admins), newest first, optionally by role type or specific ids. To find a user by email or name use kayako_search. Kayako: GET /api/v1/users.json.

ParameterTypeDescription
idsarrayFetch these user ids.
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.
rolestringOnly users of this role type.

kayako_get_user Get a user

Fetch one user by id: name, role, organization, teams, identities (emails, phones, social), custom fields. include='identity_email,organization' expands references. Kayako: GET /api/v1/users/{id}.json.

ParameterTypeDescription
user_id *integerThe user id (integer).
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.

kayako_list_organizations List organizations

List customer organizations (name, domains, phone, custom fields), oldest first. To find one by name use kayako_search with resources=['ORGANIZATIONS']. Kayako: GET /api/v1/organizations.json.

ParameterTypeDescription
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.

kayako_list_organization_cases List an organization's cases

List the cases (conversations) raised by members of one organization, newest-updated first. Kayako: GET /api/v1/organizations/{id}/cases.json.

ParameterTypeDescription
organization_id *integerThe organization id (integer).
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.

kayako_list_teams List teams

List agent teams (id, title, member count) — the ids for assigned_team_id. Kayako: GET /api/v1/teams.json.

ParameterTypeDescription
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.

kayako_list_roles List roles

List user roles (id, title, type OWNER/ADMIN/AGENT/COLLABORATOR/CUSTOMER) — the role_id needed by kayako_create_user. Kayako: GET /api/v1/roles.json.

ParameterTypeDescription
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.

kayako_list_articles List help-center articles

List knowledge-base articles, optionally by section, tags, or PUBLISHED / PINNED. Titles and contents are locale references unless include='locale_field'. Kayako: GET /api/v1/articles.json.

ParameterTypeDescription
filterstringOnly pinned or only published articles.
includestringComma-separated resource types to expand instead of returning {id, resource_type} references, e.g. 'user,case_status,case_priority,team', or '*' for all.
limitintegerItems per page, 1-100. Kayako's default is 10.
offsetintegerOffset into the collection (0-based). Default 0.
section_idintegerOnly articles in this section.
tagsstringComma-separated tags.

kayako_get_article Get a help-center article

Fetch one knowledge-base article with its localized titles and contents expanded (include defaults to 'locale_field'), status, section, tags, votes and help-center URL. Kayako: GET /api/v1/articles/{id}.json.

ParameterTypeDescription
article_id *integerThe article id (integer).
includestringResource types to expand. Defaults to 'locale_field' so titles/contents are readable.

kayako_search_help_center Search the help center

Search the help center's articles and/or public conversations. Returns references (e.g. {id, resource_type: 'article'}); read an article with kayako_get_article. Kayako: GET /api/v1/helpcenter/search.json.

ParameterTypeDescription
query *stringSearch text, at least 3 characters.
instringWhat to search. Default ALL.
limitintegerItems per page, 1-100. Kayako's default is 10.
localestringLocale, e.g. en-us.
offsetintegerOffset into the collection (0-based). Default 0.

kayako_create_case Create a case

WRITE: open a new case (conversation) for a requester. channel MAIL sends the first message to the customer by email from the mailbox given as channel_id; channel NOTE creates it with an internal note and emails nobody. Get channel ids from kayako_list_channels and status/priority/type ids from kayako_list_case_options. Kayako: POST /api/v1/cases.json.

ParameterTypeDescription
channel *stringMAIL, TWITTER, FACEBOOK or NOTE (internal, not sent).
contents *stringBody of the first post.
requester_id *integerThe requester (customer user) id (integer).
subject *stringCase subject.
assigned_agent_idinteger
assigned_team_idinteger
ccarrayMAIL only: CC addresses.
channel_idintegerChannel account id (e.g. the mailbox id). Required unless channel is NOTE.
field_valuesobjectCustom field values keyed by field key, e.g. {"order_number": "1234"}. For multi-select fields pass CSV options — ALL options must be passed; omitted ones are removed.
form_idinteger
htmlbooleanMAIL/NOTE: treat contents as HTML (sanitized by Kayako).
priority_idinteger
status_idinteger
tagsstringComma-separated tags.
type_idinteger

kayako_update_case Update a case

WRITE: change a case's subject, requester, assignee (team/agent), status, priority, type, brand, form, tags or custom fields. Sends nothing to the customer. `tags` sets the case's tag list (use kayako_add_case_tags to append). Trashing is deliberately not exposed. Kayako: PUT /api/v1/cases/{id}.json.

ParameterTypeDescription
case_id *integerThe case id (integer).
assigned_agent_idinteger
assigned_team_idinteger
brand_idinteger
field_valuesobjectCustom field values keyed by field key, e.g. {"order_number": "1234"}. For multi-select fields pass CSV options — ALL options must be passed; omitted ones are removed.
form_idinteger
priority_idinteger
requester_idinteger
status_idinteger
subjectstring
tagsstringComma-separated tags (sets the list).
type_idinteger

kayako_reply_to_case Reply to a case or add an internal note

WRITE: add a post to a case. channel NOTE adds an INTERNAL note visible only to agents (no channel_id needed). channel MAIL/TWITTER/FACEBOOK sends a PUBLIC reply to the customer — get channel_id from kayako_list_channels with case_id. Can also set status/priority/assignee in the same call. Kayako: POST /api/v1/cases/{id}/reply.json.

ParameterTypeDescription
case_id *integerThe case id (integer).
channel *stringNOTE for an internal note; MAIL/TWITTER/FACEBOOK for a public reply.
contents *stringReply or note text.
assigned_agent_idinteger
assigned_team_idinteger
ccarrayMAIL only: CC addresses.
channel_idintegerChannel account id. Required unless channel is NOTE.
htmlbooleanNOTE only: treat contents as HTML (sanitized by Kayako).
priority_idinteger
status_idintegerAlso set the case status.
tagsstringComma-separated tags.
type_idinteger

kayako_add_case_tags Add tags to a case

WRITE: add tags to a case, keeping its existing tags. Kayako: POST /api/v1/cases/{id}/tags.json.

ParameterTypeDescription
case_id *integerThe case id (integer).
tags *stringComma-separated tags to add.

kayako_create_user Create a user

WRITE: create a user — typically a CUSTOMER to use as requester_id on a new case. role_id comes from kayako_list_roles. Collaborator/agent/admin roles also require email and team_ids. No password is set by this tool. Kayako: POST /api/v1/users.json.

ParameterTypeDescription
full_name *string
role_id *integerThe role id (integer).
designationstringJob title.
emailstringPrimary email. Required for collaborator/agent/admin roles.
field_valuesobjectCustom field values keyed by field key, e.g. {"order_number": "1234"}. For multi-select fields pass CSV options — ALL options must be passed; omitted ones are removed.
organization_case_accessstringCUSTOMER only: see only own cases (default) or the whole organization's.
team_idsarrayTeam ids (required for collaborator/agent/admin).
time_zonestring