communicationapi_key

Msg91

MSG91 is a cloud communication platform offering secure and robust APIs for SMS, WhatsApp, Email, Voice, and more, enabling businesses to connect with their customers across multiple channels.

Verdict

The Msg91 MCP lets your team send SMS messages and manage event-driven campaigns directly from Switchy. @mention it to dispatch texts to customers, log user actions for segmentation, or audit failed campaign events. Marketing and support teams get the most value — you can trigger notifications based on user behavior without leaving the conversation. You'll need an API key from Msg91's dashboard, and you're responsible for managing message credits and compliance with SMS regulations in your region.

Common use cases

  • Send order confirmations via SMS
  • Log user signup events for segmentation
  • Audit failed campaign sends after launch
  • Notify customers of appointment reminders
  • Retrieve campaign performance during standups

Integration

Vendor
Msg91
Category
communication
Auth
API_KEY
Tools
5
Composio slug
msg91

Tools

  • Create User Events

    Tool to create user events in msg91 segmento. use when you need to record user actions and behaviors.

  • Get Event Types

    Tool to retrieve all available event types in segmento. use when you need to list recorded event types after authenticating.

  • Get Failed Events

    Tool to retrieve failed segmento events. use when needing to inspect validation failures for a campaign after execution.

  • List Campaigns

    Tool to list all campaigns in segmento. use when you need to retrieve campaigns with pagination support.

  • Send SMS

    Tool to send sms messages. use when you need to dispatch one or multiple messages after gathering user details.

Setup

Setup guide

  1. 11. In Switchy, open your workspace settings and navigate to the Integrations tab. 2. Search for Msg91 and click Connect. 3. Log into your Msg91 account at msg91.com, go to API Settings, and copy your Auth Key. 4. Paste the Auth Key into Switchy's prompt and click Authorize. 5. Switchy confirms the connection and lists the five available tools. 6. Open any Space, type '@Msg91 list my campaigns' and send — if you see campaign data or a confirmation that none exist yet, the integration works. 7. To send an SMS, use '@Msg91 send SMS to +1234567890 with message: Your order shipped' and verify delivery in your Msg91 dashboard.

What teammates see: by default, memories from Msg91 are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Send Order Update

@Msg91 send an SMS to +14155552671 with the message: Your order #8472 has shipped. Track it here: example.com/track/8472
Open in a Space →

Log Signup Event

@Msg91 create a user event for email user@example.com with event type 'account_created' and properties: plan=free, source=landing_page
Open in a Space →

Review Failed Sends

@Msg91 get all failed events from the last campaign so I can see which phone numbers bounced
Open in a Space →

List Active Campaigns

@Msg91 list all campaigns with pagination, show me the first 20 results
Open in a Space →

Check Event Types

@Msg91 get all event types currently defined in my Segmento account
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@Msg91 list all active campaigns in our account, grouped by status, and show me the last 5 that were created

Output

Found 12 active campaigns across your Msg91 account. The 5 most recently created are: 'Q1 Product Launch' (scheduled, 2,400 recipients), 'Weekly Newsletter' (recurring, 8,100 subscribers), 'Cart Abandonment Follow-up' (triggered, 340 pending sends), 'Flash Sale Alert' (sent, 15,200 delivered), and 'Onboarding Day 3' (active, 890 in queue). All campaigns show normal delivery rates with no critical failures logged.

Notes

This example demonstrates the List Campaigns tool with pagination. Msg91 returns campaign metadata including status, recipient counts, and scheduling info. Requires valid API_KEY with read permissions on the Segmento module. Response shape varies by account activity — new accounts may return empty lists.

Prompt

@Msg91 send an SMS to +1-555-0199 with the message 'Your verification code is 482910. Valid for 10 minutes.' and confirm delivery status

Output

SMS dispatched successfully to +1-555-0199 via Msg91. Message ID: msg_7x3k9p2. Delivery status: 'sent' (carrier accepted). The message 'Your verification code is 482910. Valid for 10 minutes.' was queued at 14:32 UTC. Note that 'sent' indicates carrier handoff — final delivery confirmation depends on recipient network and may take 5-30 seconds. Check failed events if delivery issues arise.

Notes

This example uses the Send SMS tool to dispatch a transactional message. Msg91 confirms carrier acceptance but not end-user delivery in real-time. Requires API_KEY with send permissions and sufficient account credits. Side-effect: actual SMS is sent to the specified number — use test numbers during experimentation to avoid unintended charges.

Prompt

@Msg91 check for any failed events in the last 24 hours, summarize the failure reasons, and tell me which campaigns were affected

Output

Retrieved 18 failed events from the past 24 hours. Primary failure reasons: 'invalid_phone_format' (9 events, affecting 'Cart Abandonment Follow-up'), 'insufficient_credits' (6 events, 'Flash Sale Alert' paused mid-send), and 'carrier_rejection' (3 events, international numbers in 'Weekly Newsletter'). The 'Cart Abandonment' campaign has data quality issues — 9 phone numbers lack country codes. 'Flash Sale' needs credit top-up to resume.

Notes

This example pairs the Get Failed Events tool with AI reasoning to diagnose campaign issues. Msg91 logs validation and delivery failures with structured error codes. Useful for post-campaign audits and debugging send problems. Requires API_KEY with event read access. Failed events persist for 30 days in most Msg91 plans.

Use-case deep-dives

Outbound sales SMS follow-up

When Msg91 beats email for cold outreach at scale

A 6-person sales team running 200 cold calls a week needs same-day follow-up that actually gets read. Msg91's Send SMS tool lets reps fire templated texts from the AI workspace the moment a call ends—no app-switching, no copy-paste. The Create User Events tool logs every send so the team can see open rates by rep or time-of-day in their CRM. This works until you hit 500+ sends per day; past that threshold you need Msg91's campaign builder UI for bulk scheduling and compliance checks. If your follow-up cadence is under 48 hours and your list is under 1,000 contacts per week, the MCP keeps your reps in one tool and your response rate above 12 percent. Worth the API key setup for any team closing deals over text.

Customer support escalation alerts

How Msg91 closes the loop on urgent tickets

A 3-person support team handling 80 tickets a day needs to notify customers the instant a P0 issue is resolved—email SLAs are too slow. Msg91's Send SMS tool fires a confirmation text from the AI workspace as soon as the engineer marks the ticket closed, using the customer's phone number pulled from the CRM. The Get Failed Events tool catches delivery failures (wrong number, carrier block) so the team can fall back to email within 5 minutes. This setup breaks down if your ticket volume exceeds 300 per day or you need multi-language templating; at that scale you want Msg91's campaign segmentation instead of per-ticket sends. For small teams with tight SLAs and a mobile-first customer base, the MCP turns resolution into instant confirmation without leaving the workspace.

Event registration reminder drip

When Msg91 keeps no-show rates under 15 percent

A 4-person event ops team running monthly webinars with 200 registrants needs a 3-touch reminder sequence (7 days out, 1 day out, 1 hour out) that doesn't require a marketing automation platform. Msg91's List Campaigns and Create User Events tools let the team set up a drip from the AI workspace, logging each send as an event so they can track who got which message. The Get Event Types tool confirms the sequence fired correctly before the event starts. This approach works for events under 500 registrants; beyond that you need Msg91's full segmentation UI to handle timezone logic and A/B testing. If your event cadence is monthly or quarterly and your list is stable, the MCP gives you drip-campaign control without the Marketo price tag.

Frequently asked

What does the Msg91 MCP let me do in Switchy?

It lets your AI agents send SMS messages and manage customer engagement campaigns through Msg91's Segmento platform. Agents can dispatch texts, track user events like sign-ups or purchases, retrieve campaign lists, and inspect failed message deliveries. This is useful for automating customer notifications, building audience segments based on behavior, or debugging why certain messages didn't send.

Do I need admin access to connect Msg91?

You need a Msg91 API key with permissions to send SMS and access Segmento features. Msg91 uses API_KEY authentication, so whoever connects it must have access to your account's API credentials in the Msg91 dashboard. If your team restricts who can generate API keys, coordinate with that person first.

Can the Msg91 MCP schedule messages for later?

No. The Send SMS tool dispatches messages immediately when called. If you need scheduled sends, you'd configure that in Msg91's dashboard or use Switchy's workflow scheduler to trigger the agent at a specific time. The MCP itself doesn't expose Msg91's scheduling API.

Why use this instead of Msg91's API directly?

The MCP wraps Msg91's API so your AI agents can send texts or query campaigns in natural language without you writing integration code. If you're already building custom scripts that call Msg91's REST endpoints, stick with that. Use the MCP when you want agents to handle SMS tasks conversationally or combine Msg91 actions with other tools in a single workflow.

Does connecting Msg91 count against my Switchy plan limits?

Connecting the MCP counts as one active integration. SMS sends and API calls count against your Msg91 account limits, not Switchy's. If your Switchy plan caps the number of integrations or agent actions per month, check your usage dashboard to see how much headroom you have before adding Msg91.

Data last verified 607 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.