SupportBee MCP by usefulapi
v1.28.1Read 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.
| Parameter | Type | Description |
|---|---|---|
archived | string | true = only archived tickets, false = no archived tickets (default), any = both. |
assigned_team | string | mine = assigned to the user's teams, a team id (from supportbee_list_teams), none = no team. |
assigned_user | string | me = assigned to the token's user, an agent id (from supportbee_list_users), any = assigned to someone, none = unassigned. |
has_replies | boolean | true = only tickets that have replies, false = only tickets without replies. |
label | string | Only tickets with this label name (supportbee_list_labels). |
max_replies | integer | Only tickets with this number of replies (not with has_replies=false). |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
per_page | integer | Tickets per page, 1-99 (default 15). |
requester_emails | array | Only tickets from these requester e-mail addresses (max 10). |
since | string | Only tickets with last activity after this time (date, ISO date-time or Unix timestamp). |
sort_by | string | Sort order (default last_activity). |
spam | boolean | Include tickets marked as spam (default false). |
total_only | boolean | Return only the total number of matching tickets. |
trash | boolean | Include trashed tickets (default false). |
until | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
query * | string | The search keywords or query. |
page | integer | Page number, 1-based (default 1). Use next_page from the previous reply. |
per_page | integer | Tickets per page, 1-99 (default 15). |
spam | boolean | Include tickets marked as spam (default false). |
trash | boolean | Include 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}.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The 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}.
| Parameter | Type | Description |
|---|---|---|
reply_id * | integer | The reply id (from supportbee_list_replies). |
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
mine_only | boolean | Only the teams of the user who owns the token. |
with_users | boolean | Only 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.
| Parameter | Type | Description |
|---|---|---|
type | string | user (default) or customer_group. |
with_invited | boolean | Include users who were invited but have not joined yet (default false). |
with_roles | array | Roles 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}.
| Parameter | Type | Description |
|---|---|---|
user_id * | integer | The user id (from supportbee_list_users). |
max_tickets | integer | How 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}.
| Parameter | Type | Description |
|---|---|---|
report * | string | Which report. |
label | string | Only this label (name). |
since | string | Start of the period (date, ISO date-time or Unix timestamp). |
team | integer | Only this team (team id). |
user | integer | Only 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | The reply text (plain text; blank lines separate paragraphs). |
ticket_id * | integer | The SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets). |
bcc | array | Extra recipients in bcc (cc + bcc together at most 10). |
cc | array | Extra 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.
| Parameter | Type | Description |
|---|---|---|
text * | string | The comment text (plain text; blank lines separate paragraphs). |
ticket_id * | integer | The 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}.
| Parameter | Type | Description |
|---|---|---|
label * | string | The label name, exactly as in supportbee_list_labels. |
ticket_id * | integer | The 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}.
| Parameter | Type | Description |
|---|---|---|
label * | string | The label name. |
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
ticket_id * | integer | The SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets). |
team_id | integer | The team id (supportbee_list_teams). |
user_id | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
assignee * | string | Which assignment to clear. |
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
archived * | boolean | true = archive, false = move back to the inbox. |
ticket_id * | integer | The 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.
| Parameter | Type | Description |
|---|---|---|
answered * | boolean | true = mark answered, false = mark unanswered. |
ticket_id * | integer | The SupportBee ticket id (the number in the ticket URL; from supportbee_list_tickets). |