Chatwoot MCP by usefulapi

v1.11.1
io.usefulapi/chatwoot Checked 2 days ago Published 1 day ago

Read conversations and contacts; add replies or notes, set status and assign in Chatwoot.

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

chatwoot_get_account Get account

Get the configured Chatwoot account: name, locale, features and plan. Chatwoot API: GET /api/v1/accounts/{account_id}.

chatwoot_list_conversations List conversations

List conversations, 25 per page (Chatwoot's fixed page size), filtered by status, assignee, inbox, team, labels or a text query. By default each conversation is one compact row (contact, assignee, team, labels, dates and a 300-character preview of the last message), so email conversations fit; detail: full returns Chatwoot's complete reply. Chatwoot API: GET /api/v1/accounts/{account_id}/conversations.

ParameterTypeDescription
assignee_typestringDefault all.
detailstringsummary (default): one compact row per conversation with a short preview of the last message. full: Chatwoot's complete reply, which includes the full last message (email bodies can be very large).
inbox_idinteger
labelsarrayOnly conversations with all these label titles.
pageintegerPage number, starting at 1.
qstringFree-text search.
skipintegerConversations to skip at the start of this page only (default 0). When a reply has _continue_with, call again with the same arguments and those values. For the next page, leave skip out.
statusstringDefault open.
team_idinteger

chatwoot_get_conversation_counts Get conversation counts

Get the open, unassigned and total conversation counts for a status, inbox or team. Chatwoot API: GET /api/v1/accounts/{account_id}/conversations/meta.

ParameterTypeDescription
inbox_idinteger
qstring
statusstring
team_idinteger

chatwoot_get_conversation Get conversation

Get one conversation with its status, priority, assignee, team, labels and contact. Chatwoot API: GET .../conversations/{conversation_id}.

ParameterTypeDescription
conversation_id *integerConversation id (from chatwoot_list_conversations).

chatwoot_list_messages List messages

List the messages of one conversation, oldest first. If result_page.next_cursor is present, use result_cursor to retrieve the rest of the same Chatwoot page. Very large messages can return result_fragment strings to concatenate before parsing.

ParameterTypeDescription
conversation_id *integer
afterintegerFind messages after this message ID. Use the same value on continuation calls.
beforeintegerFind messages before this message ID. Use the same value on continuation calls.
result_cursorstringUse result_page.next_cursor from the previous result with the same conversation_id, before, and after.

chatwoot_list_contacts List contacts

List resolved contacts (those with an email, phone number or identifier), 15 per page. Chatwoot API: GET .../contacts.

ParameterTypeDescription
pageintegerPage number, starting at 1.
sortstring

chatwoot_search_contacts Search contacts

Search resolved contacts by a text key (name, email or phone). Chatwoot API: GET .../contacts/search.

ParameterTypeDescription
q *stringSearch text.
pageintegerPage number, starting at 1.
sortstring

chatwoot_get_contact Get contact

Get one contact with its attributes, labels and custom attributes. Chatwoot API: GET .../contacts/{id}.

ParameterTypeDescription
contact_id *integerContact id (from chatwoot_list_contacts or chatwoot_search_contacts).

chatwoot_list_contact_conversations List contact conversations

List all conversations of one contact, as compact rows by default (detail: full returns Chatwoot's complete reply). Chatwoot API: GET .../contacts/{id}/conversations.

ParameterTypeDescription
contact_id *integer
detailstringsummary (default): one compact row per conversation with a short preview of the last message. full: Chatwoot's complete reply, which includes the full last message (email bodies can be very large).

chatwoot_list_csat_responses List CSAT survey responses

List customer satisfaction (CSAT) survey responses, newest first, 25 per page: rating 1-5, the customer's feedback comment, conversation id, contact, assigned agent and date. Filter by a date range, agents, inbox, team and ratings. Only account administrators can read CSAT. Chatwoot API: GET .../csat_survey_responses (the endpoint of the Chatwoot CSAT report).

ParameterTypeDescription
agent_idsarrayOnly responses for conversations assigned to these agents (ids from chatwoot_list_agents).
fromstringFirst day, yyyy-mm-dd (UTC). Give from and to together.
inbox_idintegerOnly responses from this inbox (chatwoot_list_inboxes).
pageintegerPage number, starting at 1.
ratingsarrayOnly these ratings, 1 (worst) to 5 (best).
team_idintegerOnly responses from conversations of this team (chatwoot_list_teams).
tostringLast day, yyyy-mm-dd (UTC), included.

chatwoot_get_csat_summary Get CSAT summary

Totals of customer satisfaction (CSAT) survey responses for the same filters as chatwoot_list_csat_responses: number of responses, count per rating 1-5, average rating and the percentage of ratings 4-5, plus surveys sent and the response rate (only without an agent, inbox, team or rating filter, because Chatwoot counts sent surveys for the whole account). Only account administrators can read CSAT. Chatwoot API: GET .../csat_survey_responses/metrics.

ParameterTypeDescription
agent_idsarrayOnly responses for conversations assigned to these agents (ids from chatwoot_list_agents).
fromstringFirst day, yyyy-mm-dd (UTC). Give from and to together.
inbox_idintegerOnly responses from this inbox (chatwoot_list_inboxes).
ratingsarrayOnly these ratings, 1 (worst) to 5 (best).
team_idintegerOnly responses from conversations of this team (chatwoot_list_teams).
tostringLast day, yyyy-mm-dd (UTC), included.

chatwoot_list_labels List labels

List all labels of the account. Chatwoot API: GET .../labels.

chatwoot_list_inboxes List inboxes

List the inboxes (channels) of the account. Chatwoot API: GET .../inboxes.

chatwoot_list_agents List agents

List the agents of the account with their roles. Chatwoot API: GET .../agents.

chatwoot_list_teams List teams

List the teams of the account. Chatwoot API: GET .../teams.

chatwoot_list_canned_responses List canned responses

List the saved reply templates (canned responses) of the account. Chatwoot API: GET .../canned_responses.

chatwoot_send_message Send message or private note

Add a message to a conversation. Default: a private note that the customer never sees. Set private to false to send a reply that the customer receives by email or chat. Chatwoot API: POST .../conversations/{conversation_id}/messages.

ParameterTypeDescription
content *stringThe message text.
conversation_id *integer
privatebooleantrue (default) = internal note; false = customer-visible reply.

chatwoot_set_conversation_status Set conversation status

Set a conversation to open, resolved, pending or snoozed. For snoozed, snoozed_until is a Unix time in seconds (optional). Chatwoot API: POST .../conversations/{conversation_id}/toggle_status.

ParameterTypeDescription
conversation_id *integer
status *string
snoozed_untilintegerUnix time in seconds; only with status snoozed.

chatwoot_set_conversation_priority Set conversation priority

Set a conversation priority: urgent, high, medium, low, or none (clears it). Chatwoot API: PATCH .../conversations/{conversation_id}.

ParameterTypeDescription
conversation_id *integer
priority *string

chatwoot_assign_conversation Assign conversation

Assign a conversation to an agent (assignee_id) or to a team (team_id). Give exactly one. Chatwoot API: POST .../conversations/{conversation_id}/assignments.

ParameterTypeDescription
conversation_id *integer
assignee_idintegerAgent user id (from chatwoot_list_agents).
team_idintegerTeam id (from chatwoot_list_teams).