Add MSG91 to Your Product

Give your customers access to MSG91 from within your product & agents. Use viaSocket to manage authentication, execute actions, and receive events from connected accounts.

Paste it into Cursor, Claude Code or Codex.
Integration Infrastructure

Everything You Need to Manage MSG91 Integrations

Add MSG91 to your product & agents today. viaSocket runs the infrastructure; your AI coding assistant does the setup.

Managed Authentication

Let your customers connect their MSG91 accounts without building and maintaining OAuth flows yourself.

Customer-Specific Connections

Manage separate MSG91 connections for each customer in your product & agents.

Actions, Triggers and Webhooks

Execute supported MSG91 actions and receive events through a consistent integration interface.

Managed Data Mapping

Map data between your product & agents and the formats expected by MSG91.

Monitoring and Debugging

Track executions, inspect errors, and troubleshoot integration issues.

Your Product & Agents, Your Experience

Offer MSG91 integrations under your own branding and within your existing product & agents.

Available Actions and Triggers for MSG91

What You Can Do with MSG91

Explore available actions to let your product & agents interact with MSG91.

  • Send CampaignRun an MSG91 campaign for one recipient, with optional CC, BCC and variables; returns the queued request.
  • Send Template SMSSends an SMS to one or more phone numbers using a template from your MSG91 account (SMS → Templates), filling the template's variables. Returns MSG91's response (a success type and request id); a missing template or mobile number raises an error.
  • Send a Mail Send an email from a chosen MSG91 template and domain; fills template variables, supports CC, BCC and attachments.
  • Create or Update Contact in SegmentoCreate a contact in an MSG91 Segmento phonebook, or update it when Contact_id matches an existing contact.
  • Update Contact In SegmentoUpdates a contact in a selected MSG91 Segmento phonebook, identified by its Contact_id, with the field values you enter. Returns the saved contact (id, _id and fields); an error is raised if no phonebook is chosen or MSG91 returns no contact.
  • Search a specific contact in SegmentoSearches a Segmento phonebook for contacts that match a saved segment and/or field filters (email, phone or any other field, each with an operator and a value, combined with And/Or). Returns a list of the matching contacts (first page only, up to Items Per Page); an empty list means no match.
  • Schedule a Template SMSSchedules an MSG91 template SMS to go out at the given date and time to one or more mobile numbers, filling the template's variables. Returns MSG91's response (a success type and request id); a missing template, time or mobile number, or an error from MSG91, raises an error.
  • Find Campaign Template DetailsLooks up one MSG91 template (flow) by its exact name or its flow ID and returns its name, template ID and message text. template_id is the DLT template ID when MSG91 has one, otherwise the flow ID; empty fields come back as 'Unknown'. Raises an error when no template matches.
  • List WhatsApp TemplatesLists the WhatsApp templates of one integrated MSG91 number, optionally filtered by name, status or language and paged. Returns MSG91's response; when none match, returns the message 'No templates found.'

Respond to Events in MSG91

Use triggers to let your product & agents respond to events from connected MSG91 accounts.

  • When a new inbound or outbound WhatsApp delivery report arrivesRuns the workflow automatically whenever a new inbound or outbound WhatsApp delivery report arrives.
  • When an SMS is confirmed as deliveredFires for every SMS delivery report MSG91 posts to the webhook; check the status field to act only on delivered.
  • When a new voice call is made or receivedRuns the workflow automatically whenever a new outbound or inbound voice call is made or received.
  • When an RCS message delivery report is receivedFires for every RCS delivery report MSG91 posts to your webhook; filter on eventName for a specific status.
  • When an OTP is sentFires for every OTP delivery report MSG91 posts to the webhook; check the status field to act only on delivered.
  • When a new email delivery report is receivedFires for every email delivery report MSG91 posts to the webhook; filter on eventName to act on one status.
  • When your account receives a push notificationFires for every push notification event MSG91 posts to your webhook; filter on the status field to act on one outcome.
  • New Ticket ArrivesFires for each MSG91 Hello ticket in the chosen status (optionally in selected mail or chat inboxes) whose latest message arrived since the last check. Note: a new reply on an older ticket also fires it; each item is the full ticket.
  • New Call CompletedFires for each completed MSG91 voice call, with the call log details and a 7-day recording link.

About MSG91

MSG91 is a cloud communication platform that provides APIs for SMS, WhatsApp, voice, email, RCS, OTP, and customer engagement automation for businesses.

Learn more
viaSocket

About viaSocket

Connect 2,300+ apps to your product & agents with one prompt. Auth, events and actions handled. Free to start.

Learn more
Frequently Asked Questions

FAQs about adding MSG91 to your product & agents

Find answers to common questions about integrating MSG91 into your product & agents, including authentication, supported actions, triggers, and implementation.

How can I integrate MSG91 into my product & agents?

You can use viaSocket to add MSG91 integration to your product & agents. viaSocket provides APIs, managed authentication, actions, and triggers to help you build integration features for your customers.

Do I need to build and maintain the integration infrastructure myself?

No. viaSocket manages the integration infrastructure, including authentication, customer connections, and supported actions and triggers.

Can my customers connect their own MSG91 accounts?

Yes. viaSocket supports customer-specific connections, allowing each customer to authorize their own MSG91 account.

Can I offer MSG91 integration under my own branding?

Yes. You can provide the integration experience under your own branding and within the existing interface of your product & agents.

Can I connect MSG91 with other apps?

Yes. viaSocket supports integrations with 2,300+ apps, allowing your product & agents to work with MSG91 and other supported services.

How do I execute actions in MSG91?

Use viaSocket's supported actions and APIs to perform operations in connected MSG91 accounts. Available operations depend on the integration's supported capabilities and the permissions granted.

Can my product & agents respond to events from MSG91?

Yes. You can use supported triggers and webhooks to receive events from MSG91 and respond within your product & agents.

Bring MSG91 Into Your Product & Agents

Paste it into Cursor, Claude Code or Codex.
  • Managed auth
  • Per-customer connections
  • Actions & triggers
  • Data mapping
  • Monitoring & logs
  • Your branding