SupportBee MCP by usefulapi

v1.28.1
io.usefulapi/supportbee Checked 3 days ago Published 1 day ago

Read SupportBee tickets, replies and reports; reply, comment, label, assign and archive tickets.

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

supportbee_list_tickets List tickets

List tickets of the shared inbox, newest activity first, with filters (assignee, team, label, requester, dates, spam/trash/archived). By default archived, spam and trashed tickets are left out. Each ticket has id, subject, labels, requester, assignee, replies_count, comments_count, unanswered, archived and the first message text (cut). With total_only=true only the number of matching tickets comes back. GET /tickets.

ParameterTypeDescription
archivedstringtrue = only archived tickets, false = no archived tickets (default), any = both.
assigned_teamstringmine = assigned to the user's teams, a team id (from supportbee_list_teams), none = no team.
assigned_userstringme = assigned to the token's user, an agent id (from supportbee_list_users), any = assigned to someone, none = unassigned.
has_repliesbooleantrue = only tickets that have replies, false = only tickets without replies.
labelstringOnly tickets with this label name (supportbee_list_labels).
max_repliesintegerOnly tickets with this number of replies (not with has_replies=false).
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
per_pageintegerTickets per page, 1-99 (default 15).
requester_emailsarrayOnly tickets from these requester e-mail addresses (max 10).
sincestringOnly tickets with last activity after this time (date, ISO date-time or Unix timestamp).
sort_bystringSort order (default last_activity).
spambooleanInclude tickets marked as spam (default false).
total_onlybooleanReturn only the total number of matching tickets.
trashbooleanInclude trashed tickets (default false).
untilstringOnly tickets with last activity before this time (date, ISO date-time or Unix timestamp).

supportbee_search_tickets Search tickets

Full-text search over tickets (subject, body, requester) with SupportBee's search syntax, newest activity first. Spam and trash are excluded unless asked. GET /tickets/search.

ParameterTypeDescription
query *stringThe search keywords or query.
pageintegerPage number, 1-based (default 1). Use next_page from the previous reply.
per_pageintegerTickets per page, 1-99 (default 15).
spambooleanInclude tickets marked as spam (default false).
trashbooleanInclude trashed tickets (default false).

supportbee_get_ticket Get a ticket

One ticket with subject, requester, labels, assignees, state and the first message text. Replies and comments are separate calls. GET /tickets/{id}.

ParameterTypeDescription
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_list_replies List the replies of a ticket

The public replies (the conversation with the customer) of a ticket, oldest first, as text. GET /tickets/{id}/replies.

ParameterTypeDescription
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_get_reply Get one reply of a ticket

One reply of a ticket (text, replier, cc/bcc). GET /tickets/{ticket_id}/replies/{id}.

ParameterTypeDescription
reply_id *integerThe reply id (from supportbee_list_replies).
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_list_comments List the internal comments of a ticket

The internal comments (visible to agents only, never e-mailed) of a ticket, oldest first, as text. GET /tickets/{id}/comments.

ParameterTypeDescription
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_get_ticket_audit Get the audit trail of a ticket

What happened to a ticket and who did it (assignments, label changes, replies, archiving) with timestamps. GET /tickets/{id}/audit.

ParameterTypeDescription
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_list_labels List labels

All custom labels of the company (name and color). Use a label name with supportbee_add_label or the label filter. GET /labels.

supportbee_list_teams List teams

The teams of the company (id, name), optionally only those that have users in them, or only the token user's teams. GET /teams.

ParameterTypeDescription
mine_onlybooleanOnly the teams of the user who owns the token.
with_usersbooleanOnly teams that have users in them (SupportBee's with_users filter; it does not add the member list).

supportbee_list_users List users

The agents, admins and collaborators of the desk (id, name, e-mail, role, teams), or customer groups. Use the id as assigned_user or user_id. GET /users.

ParameterTypeDescription
typestringuser (default) or customer_group.
with_invitedbooleanInclude users who were invited but have not joined yet (default false).
with_rolesarrayRoles to include (default admin, agent, collaborator).

supportbee_get_user Get a user

One user or customer with role, teams, ticket counts and a few of their recent tickets. GET /users/{id}.

ParameterTypeDescription
user_id *integerThe user id (from supportbee_list_users).
max_ticketsintegerHow many of the user's tickets to include (default 5).

supportbee_list_snippets List snippets

The canned replies (snippets) of the company: name, tags and text, to reuse in a reply. GET /snippets.

supportbee_list_forwarding_addresses List forwarding addresses

The support e-mail addresses (forwarding addresses) of the desk: id, name, the address tickets arrive at and the from address. GET /emails.

supportbee_get_report Get a report

A report as time-series data points (value, timestamp): tickets_count, replies_count or avg_first_response_time, optionally for one agent, team or label. Needs an admin token. GET /reports/{report}.

ParameterTypeDescription
report *stringWhich report.
labelstringOnly this label (name).
sincestringStart of the period (date, ISO date-time or Unix timestamp).
teamintegerOnly this team (team id).
userintegerOnly this agent (user id).

supportbee_reply_to_ticket Reply to a ticket (sends an e-mail)

WRITE: SENDS AN E-MAIL to the customer. Posts a public reply on ONE ticket; SupportBee e-mails it to the ticket's requester and to the cc/bcc addresses you list (at most 10 addresses in total). It cannot be recalled. The reply comes from the token's user. For a note only your team sees, use supportbee_add_comment. POST /tickets/{id}/replies.

ParameterTypeDescription
text *stringThe reply text (plain text; blank lines separate paragraphs).
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).
bccarrayExtra recipients in bcc (cc + bcc together at most 10).
ccarrayExtra recipients in cc (cc + bcc together at most 10).

supportbee_add_comment Add an internal comment to a ticket

WRITE: adds an internal comment to a ticket. Comments are visible to your agents only and are never e-mailed to the customer. POST /tickets/{id}/comments.

ParameterTypeDescription
text *stringThe comment text (plain text; blank lines separate paragraphs).
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_add_label Add a label to a ticket

WRITE: adds an existing label to a ticket (404 if the label does not exist; names come from supportbee_list_labels). Safe to repeat. POST /tickets/{id}/labels/{label}.

ParameterTypeDescription
label *stringThe label name, exactly as in supportbee_list_labels.
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_remove_label Remove a label from a ticket

WRITE: removes a label from a ticket (the label itself stays; 404 if the ticket does not have it). DELETE /tickets/{id}/labels/{label}.

ParameterTypeDescription
label *stringThe label name.
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_assign_ticket Assign a ticket to a user or a team

WRITE: assigns a ticket to ONE agent (user_id) or ONE team (team_id), not both. A ticket that belongs to a team can only go to a member of that team; assigning to another team removes the user assignee. The customer is not e-mailed (SupportBee may notify the assigned agent). POST /tickets/{id}/user_assignment or /team_assignment.

ParameterTypeDescription
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).
team_idintegerThe team id (supportbee_list_teams).
user_idintegerThe agent id (supportbee_list_users).

supportbee_unassign_ticket Remove the user or team assignment of a ticket

WRITE: clears the user assignee or the team assignee of a ticket. DELETE /tickets/{id}/user_assignment or /team_assignment.

ParameterTypeDescription
assignee *stringWhich assignment to clear.
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_set_ticket_archived Archive or un-archive a ticket

WRITE: archives a ticket (archived=true, it leaves the open inbox) or moves it back (archived=false). Nothing is deleted or sent. POST/DELETE /tickets/{id}/archive.

ParameterTypeDescription
archived *booleantrue = archive, false = move back to the inbox.
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).

supportbee_set_ticket_answered Mark a ticket answered or unanswered

WRITE: marks a ticket as answered (answered=true) or unanswered (answered=false) without sending anything. POST/DELETE /tickets/{id}/answered.

ParameterTypeDescription
answered *booleantrue = mark answered, false = mark unanswered.
ticket_id *integerThe SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets).