Gupshup MCP by usefulapi

v1.1.1
io.usefulapi/gupshup Checked 4 days ago Published 1 day ago

Read WhatsApp templates, business profile and blocked users; send texts in Gupshup.

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

gupshup_list_templates List message templates

List the WhatsApp message templates of this app with status (APPROVED, PENDING, REJECTED), category, type and language. Paginated. Gupshup: GET /wa/app/{appId}/template.

ParameterTypeDescription
languageCodestringFilter by language code, e.g. en_US.
pageNointegerPage number, starting at 0 (default 0).
pageSizeintegerTemplates per page (default 100).
qualitystringFilter by template quality rating.
templateCategorystringFilter by category: marketing, utility or authentication.
templateStatusstringFilter by status, e.g. APPROVED, PENDING or REJECTED.
templateTypestringFilter by template type.

gupshup_get_template Get message template

Get one message template by its Gupshup template ID: body, variables, header, footer, buttons and approval status. Gupshup: GET /wa/app/{appId}/template/{templateId}.

ParameterTypeDescription
templateId *stringThe Gupshup template ID, from gupshup_list_templates.

gupshup_get_business_profile Get business profile

Get the business profile of this app: business name, address, contact, website, vertical and terms acceptance. Gupshup: GET /wa/app/{appId}/business.

gupshup_list_blocked_users List blocked WhatsApp users

List the WhatsApp users blocked by this business account, one page at a time (up to 100 per page). Pass the returned cursor as 'after' for the next page. Gupshup: GET /wa/app/{appId}/user/blocklist.

ParameterTypeDescription
afterstringCursor from the previous page's response, for the next page.
limitintegerUsers per page (default 100, max 100).

gupshup_send_text_message Send WhatsApp text message

Send a WhatsApp text message to one phone number. This reaches a real person. Free text works only inside the customer's 24-hour window; this tool sends no template. srcName must be the name of the sending app. A timeout does not prove the send failed: check before you send again. Gupshup: POST /wa/api/v1/msg.

ParameterTypeDescription
destination *stringThe recipient's phone number, digits only, country code first.
source *stringThe sending app's WhatsApp number, digits only, country code first.
srcName *stringThe name of the sending Gupshup app (sent as src.name).
text *stringThe message text.
previewUrlbooleanShow a link preview when the text contains a URL (default false).