Gallabox MCP by usefulapi

v1.2.1
io.usefulapi/gallabox Checked 4 days ago Published 1 day ago

Read contacts, templates and message status; send WhatsApp messages in Gallabox.

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

gallabox_list_users List users and channels

List the people on the account with availability and team ids, and the WhatsApp channelIds each one can use. Use it to find a channelId before sending. API: GET /accounts/{accountId}/users.

ParameterTypeDescription
limitintegerResults per page (1-100).

gallabox_list_webhooks List webhooks

List the webhooks of the configured account: event names, target URL, enabled state and failure count. API: GET /webhooks (filtered to the account).

gallabox_search_contacts Search contacts

Search contacts by name, phone or email text. Returns matching contacts with their phones, emails and tags. API: GET /accounts/{accountId}/contacts/search.

ParameterTypeDescription
search *stringText to search for.
limitintegerResults per page (1-100).
pageintegerPage number (default 1).

gallabox_get_contact_by_phone Get contact by phone

Find the contact that has this phone number, with its tags and opt-in state. API: GET /accounts/{accountId}/contacts?phone=.

ParameterTypeDescription
phone *stringPhone number in international format, digits only (e.g. 917825877730).

gallabox_get_contact Get a contact

Get one contact by id: name, phones, emails, tags and opt-in state. API: GET /accounts/{accountId}/contacts/{contactId}.

ParameterTypeDescription
contact_id *stringGallabox object id (24-character hex).

gallabox_add_contact Add a contact

Create a contact with a name, phone numbers, emails and tags. Creates a new record on each call. API: POST /accounts/{accountId}/contacts.

ParameterTypeDescription
name *stringContact name.
phone *arrayOne or more phone numbers, international digits only.
emailarrayOptional email addresses.
tagsarrayOptional tag names to attach.

gallabox_get_message_status Get message status

Check the delivery status of a sent message. Use the message id returned when the message was sent. API: GET /accounts/{accountId}/messages/{messageId}/status.

ParameterTypeDescription
message_id *stringGallabox object id (24-character hex).

gallabox_list_whatsapp_templates List WhatsApp templates

List the WhatsApp message templates on the account with their approval status, language and category. API: GET /accounts/{accountId}/whatsappTemplates.

gallabox_get_whatsapp_template Get a WhatsApp template

Get one WhatsApp template in full, including its components and variables. Read it before sending a template message. API: GET /accounts/{accountId}/whatsappTemplates/{templateId}.

ParameterTypeDescription
template_id *stringGallabox object id (24-character hex).

gallabox_send_text_message Send a WhatsApp text message

Send a plain text WhatsApp message to a phone number from a channel. Free text works only inside the customer's 24-hour session window; otherwise send a template. Sends to a real person: check the text first. API: POST /messages/whatsapp (type text).

ParameterTypeDescription
channel_id *stringWhatsApp channel id (from gallabox_list_users → channelIds).
phone *stringPhone number in international format, digits only (e.g. 917825877730).
recipient_name *stringRecipient name, as it shows in the chat.
text *stringMessage text.

gallabox_send_template_message Send a WhatsApp template message

Send an approved WhatsApp template to a phone number. Works outside the 24-hour window. Read the variable names with gallabox_get_whatsapp_template first. Sends to a real person: check the values first. API: POST /messages/whatsapp (type template).

ParameterTypeDescription
channel_id *stringWhatsApp channel id (from gallabox_list_users → channelIds).
phone *stringPhone number in international format, digits only (e.g. 917825877730).
recipient_name *stringRecipient name, as it shows in the chat.
template_name *stringApproved template name (from gallabox_list_whatsapp_templates).
body_valuesobjectTemplate variable values, keyed by variable name as the template defines it.

gallabox_resolve_conversation Resolve a conversation

Mark a conversation as resolved (closed) in the inbox. API: POST /accounts/{accountId}/conversations/{conversationId}/resolve.

ParameterTypeDescription
conversation_id *stringGallabox object id (24-character hex).