SleekFlow MCP by usefulapi
v1.4.1Read chats, contacts, teams and broadcasts; send messages and notes, and manage labels in SleekFlow.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
sleekflow_list_contacts List contacts
List contacts with their profile fields, labels and lists. Filter by phone, email or name. SleekFlow API: GET /api/contact.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by email address. |
first_name | string | Filter by first name. |
is_exact_match | boolean | Match filters exactly instead of partially. |
last_name | string | Filter by last name. |
last_updated_after | string | Only contacts updated after this timestamp. |
limit | integer | Items to return (default 20, max 1000). |
list_id | integer | Only contacts in this contact list id. |
offset | integer | Items to skip (default 0). |
phone_number | string | Filter by phone number (international format, no '+'). |
sleekflow_get_contact Get a contact
Get one contact by user profile id, with all profile fields. SleekFlow API: GET /api/contact/{userProfileId}.
| Parameter | Type | Description |
|---|---|---|
user_profile_id * | string | The contact's user profile id. |
sleekflow_list_conversations List conversations
List inbox conversations with status, assignee, channel and last update. Good first call to find open or unread chats. A repeat call within 1 second can return HTTP 400 'Server busy': wait 1 second, then call again. SleekFlow API: GET /api/conversation/all.
| Parameter | Type | Description |
|---|---|---|
assigned_to | string | 'all' (default), 'unassigned', 'team', or a staff user id. |
channel | string | Channel name, for example whatsappcloudapi. |
is_unread | boolean | Only conversations with unread messages. |
limit | integer | Items to return (default 20, max 1000). |
offset | integer | Items to skip (default 0). |
order_by | string | Sort order, as the SleekFlow API accepts it. |
phone_number | string | Only conversations with this contact phone number. |
status | string | Conversation status filter, as the SleekFlow inbox uses it. |
tags | string | Tag filter, as the SleekFlow API accepts it. |
team_id | integer | Team id, with assigned_to 'team'. |
updated_after | string | Only conversations updated after this timestamp. |
updated_before | string | Only conversations updated before this timestamp. |
sleekflow_get_conversation Get a conversation
Get one conversation: contact, status, assignee and channel. SleekFlow API: GET /api/conversation/{conversationId}.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation id. |
sleekflow_list_messages List messages in a conversation
List the messages of one conversation. Filter by time with start_timestamp and end_timestamp (Unix seconds). SleekFlow API: GET /api/conversation/message/{conversationId}.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation id. |
channel | string | Only messages from this channel. |
end_timestamp | integer | End of the time range, Unix seconds. |
is_from_user | boolean | true: only customer messages. false: only staff messages. |
limit | integer | Items to return (default 20, max 1000). |
offset | integer | Items to skip (default 0). |
start_timestamp | integer | Start of the time range, Unix seconds, inclusive. |
sleekflow_search_messages Search messages
Search messages across all conversations by keyword, channel or status. SleekFlow API: GET /api/conversation/message/search.
| Parameter | Type | Description |
|---|---|---|
channel | string | Channel name filter. |
contact_owner | string | Staff user id of the contact owner. |
keywords | string | Words to search for. |
limit | integer | Items to return (default 20, max 1000). |
offset | integer | Items to skip (default 0). |
status | string | Conversation status filter. |
tags | string | Tag filter. |
sleekflow_list_channels List connected channels
List the messaging channels connected to the account (WhatsApp, Messenger, LINE, WeChat, web and others). SleekFlow API: GET /api/conversation/channel.
sleekflow_list_staff List staff
List staff members, optionally one team's members. SleekFlow API: GET /api/staffs.
| Parameter | Type | Description |
|---|---|---|
team_id | integer | Only staff in this team id. |
sleekflow_get_staff Get a staff member
Get one staff member: name, role, status and teams. SleekFlow API: GET /api/staffs/{staffUserId}.
| Parameter | Type | Description |
|---|---|---|
staff_user_id * | string | The staff user id. |
sleekflow_list_teams List teams
List all teams in the account. SleekFlow API: GET /api/teams.
sleekflow_get_team Get a team
Get one team and its members. SleekFlow API: GET /api/teams/{teamId}.
| Parameter | Type | Description |
|---|---|---|
team_id * | string | The team id. |
sleekflow_list_labels List labels
List the contact labels (hashtags) and their colors. SleekFlow API: GET /api/labels.
sleekflow_list_contact_lists List contact lists
List contact lists (groups of contacts). SleekFlow API: GET /api/contact/list.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items to return (default 20, max 1000). |
offset | integer | Items to skip (default 0). |
sleekflow_get_contact_list Get a contact list
Get one contact list and its details. SleekFlow API: GET /api/contact/list/{contactListId}.
| Parameter | Type | Description |
|---|---|---|
contact_list_id * | string | The contact list id. |
sleekflow_list_broadcasts List broadcasts
List broadcast campaigns, optionally by name. SleekFlow API: GET /api/broadcasts.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items to return (default 20, max 1000). |
name | string | Filter by broadcast name. |
offset | integer | Items to skip (default 0). |
sleekflow_get_broadcast Get a broadcast
Get one broadcast campaign and its details. SleekFlow API: GET /api/broadcasts/{broadcastId}.
| Parameter | Type | Description |
|---|---|---|
broadcast_id * | string | The broadcast id. |
sleekflow_get_broadcast_recipients List broadcast recipients
List the recipients of one broadcast with their delivery status. SleekFlow API: GET /api/broadcasts/{broadcastId}/recipients.
| Parameter | Type | Description |
|---|---|---|
broadcast_id * | string | The broadcast id. |
status * | string | Delivery status to filter by, as the SleekFlow API names it (for example, sent or failed). |
sleekflow_get_analytics Get conversation analytics
Get conversation analytics data for a date range. SleekFlow API: GET /api/analytic.
| Parameter | Type | Description |
|---|---|---|
end_date * | string | Date, format yyyy-mm-dd. |
start_date * | string | Date, format yyyy-mm-dd. |
sleekflow_send_message Send a message to a contact
Send a text message to a customer through a connected channel. The customer receives it: confirm the text and recipient first. Outside WhatsApp's 24-hour window only an approved template works. Phone numbers: international format, no '+'. SleekFlow API: POST /api/message/send/json.
| Parameter | Type | Description |
|---|---|---|
channel * | string | Channel, for example whatsappcloudapi, whatsapp360dialog, facebook, line, wechat or web. |
message_content * | string | The text to send. |
facebook_receiver_id | string | Facebook receiver id. |
from | string | Sender phone number (WhatsApp, SMS). |
line_receiver_id | string | LINE receiver id. |
to | string | Receiver phone number or WhatsApp BSUID (WhatsApp, SMS). |
web_client_receiver_id | string | Web chat receiver id. |
web_client_sender_id | string | Web chat sender id. |
wechat_receiver_open_id | string | WeChat receiver open id. |
sleekflow_send_internal_note Add an internal note
Add an internal note to a conversation. The customer does not see it. Optional staff_user_id posts the note as that staff member. SleekFlow API: POST /api/message/send/note.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation id. |
message_content * | string | The note text. |
staff_user_id | string | Staff user id to post the note as. |
sleekflow_add_or_update_contacts Add or update contacts
Create contacts, or update them when the phone number already exists. Send one or more contacts. SleekFlow API: POST /api/contact/addOrUpdate.
| Parameter | Type | Description |
|---|---|---|
contacts * | array | Contacts to create or update. |
sleekflow_update_contact Update a contact
Change one contact's name, phone or email, or add and remove labels. Fields you leave out stay as they are. SleekFlow API: POST /api/contact/update/{userProfileId}.
| Parameter | Type | Description |
|---|---|---|
user_profile_id * | string | The contact's user profile id. |
add_labels | array | Label names to add. |
email | string | |
first_name | string | |
last_name | string | |
phone_number | string | New phone number, international format, no '+'. |
remove_labels | array | Label names to remove. |
sleekflow_assign_conversation Assign a conversation
Assign a conversation to a staff member. Pass staff_id 'unassigned' to remove the assignee. SleekFlow API: POST /api/conversation/{conversationId}/assignee.
| Parameter | Type | Description |
|---|---|---|
conversation_id * | string | The conversation id. |
staff_id * | string | Staff user id, or 'unassigned'. |
sleekflow_add_contacts_to_list Add contacts to a list
Add contacts to one contact list. SleekFlow API: POST /api/contact/list/{contactListId}/add.
| Parameter | Type | Description |
|---|---|---|
contact_list_id * | string | The contact list id. |
user_profile_ids * | array | User profile ids of the contacts to add. |
sleekflow_create_labels Create labels
Create one or more contact labels with a color: blue, pink, yellow, green, red, purple, grey or cyan. SleekFlow API: POST /api/labels.
| Parameter | Type | Description |
|---|---|---|
labels * | array |