For Agents
Send SMS, email, WhatsApp, and voice messages, run OTP verification, and manage contact campaigns through MSG91's multi-channel communications API.
Get started with MSG91 API in minutes using your preferred integration method.
# Add to your MCP client config (Claude Desktop, Cursor, Windsurf)
{
"jentic": {
"url": "https://api.jentic.com/mcp",
"auth": "oauth"
}
}
# Then ask your agent:
"send an otp to a phone number"
# → Jentic returns the GET /events tool with parameter schema, agent executes.What an agent can do with MSG91 API API.
Send and verify one-time passwords across SMS and email channels via /v5/otp and /v5/otp/verify
Trigger transactional flow templates with dynamic variables via POST /v5/flow
Pull SMS delivery logs and analytics via /v5/report/sms/logs and /v5/report/sms/analytics
Run multi-channel campaigns through the Campaign and Segmento endpoints
GET STARTED
Use for: I need to send a one-time password to a phone number for login, Verify the OTP code a user just submitted, Send a WhatsApp template message to a customer, Pull the delivery analytics for an SMS campaign
Not supported: Does not handle CRM lead management, payments, or live agent helpdesk routing — use for outbound multi-channel messaging and OTP verification only.
MSG91 is an India-headquartered cloud communications platform that exposes SMS, OTP, Email, WhatsApp, RCS, and Voice messaging through a single API alongside Segmento contact management and campaign tooling. The API covers transactional flows like one-time-password issue and verify, marketing campaign sends, contact list management, and per-channel analytics. Across 76 operations it consolidates multi-channel customer messaging behind one authkey-based authentication model.
Send and track WhatsApp template messages and inbound replies
Place outbound voice calls and retrieve call records
Manage RCS messaging and Hello chatbot deployments
Patterns agents use MSG91 API API for, with concrete tasks.
★ OTP-Based Login and Signup
Consumer apps issue one-time passwords during signup and login to verify phone ownership without storing passwords. MSG91's /v5/otp endpoint sends the code, /v5/otp/verify validates the user's input, and /v5/otp/retry reissues if the SMS is missed. The dedicated OTP routing tier delivers in seconds across Indian carriers, which is why the same flow powers most fintech and ride-hailing onboarding stacks in the region.
Call POST /v5/otp with the user's mobile number, then call GET /v5/otp/verify with the submitted code and reject the signup if the response indicates a mismatch.
Transactional SMS Flows for Order Updates
E-commerce and logistics platforms send order-confirmed, out-for-delivery, and delivered notifications as transactional SMS. MSG91's /v5/flow templates accept dynamic variables, so a single approved DLT template covers every order without per-message content review. The /v5/report/sms/logs endpoint exposes delivery state for reconciliation against the order pipeline.
Call POST /v5/flow with the approved template id and the order variables, then audit deliveries via POST /v5/report/sms/logs filtered to that flow id.
WhatsApp Template Notifications
Customer engagement teams send WhatsApp template messages — appointment reminders, shipping notifications, invoice receipts — through the MSG91 WhatsApp integration. Templates are pre-approved with Meta and the API attaches dynamic variables at send time. This is the primary channel for high-engagement notifications where SMS deliverability or open rates are insufficient.
Send a 'shipment_dispatched' WhatsApp template to the customer's number with order id and tracking link as template variables.
Agent-Driven Multi-Channel Outreach
An AI agent runs an outreach playbook that escalates from email to SMS to WhatsApp until the recipient engages. Through Jentic the agent searches for 'send a transactional sms', 'send a whatsapp template', and 'send an email' and gets a single auth flow across MSG91's email, SMS, and WhatsApp endpoints. Channel fallback is one configuration step instead of three integrations.
Search Jentic for 'send a transactional sms', execute POST /v5/flow, and on no-engagement after 24 hours fall back to a WhatsApp template send through the same agent flow.
76 endpoints — msg91 is an india-headquartered cloud communications platform that exposes sms, otp, email, whatsapp, rcs, and voice messaging through a single api alongside segmento contact management and campaign tooling.
METHOD
PATH
DESCRIPTION
/v5/otp
Issue a one-time password to a phone number
/v5/otp/verify
Verify a submitted OTP
/v5/flow
Trigger a transactional flow template
/v5/report/sms/logs
Pull SMS delivery logs
/v5/report/sms/analytics
Retrieve SMS analytics aggregates
/v5/report/otp/analytics
Retrieve OTP analytics aggregates
/v5/otp
Issue a one-time password to a phone number
/v5/otp/verify
Verify a submitted OTP
/v5/flow
Trigger a transactional flow template
/v5/report/sms/logs
Pull SMS delivery logs
/v5/report/sms/analytics
Retrieve SMS analytics aggregates
Three things that make agents converge on Jentic-routed access.
Credential isolation
The MSG91 authkey is stored encrypted in the Jentic vault and injected into the authkey header at execution. Agents receive a scoped session token — the raw key never enters prompt context or logs.
Intent-based discovery
Agents search Jentic with intents like 'send an otp' or 'send a whatsapp template' and Jentic returns the matching MSG91 operation with its input schema, hiding the channel-specific path conventions.
Time to first call
Direct MSG91 integration: 2-3 days to handle channel routing, DLT template approval, and webhook setup. Through Jentic: under an hour to send a first transactional SMS or OTP.
Alternatives and complements available in the Jentic catalogue.
Twilio Messaging API
Twilio is the global default for SMS, WhatsApp, and voice messaging
Pick Twilio when the workload is global rather than India-centric or when WhatsApp scale and template tooling are the priority.
Plivo API
Plivo offers SMS and voice with strong Indian DLT route coverage at competitive pricing
Choose Plivo when an existing Plivo account or sender id locks the workflow to that platform.
SendGrid Mail
SendGrid handles transactional email at scale and pairs well with MSG91 SMS/WhatsApp
Pair with MSG91 when the workflow needs email-first delivery with SMS or WhatsApp as a fallback channel.
Specific to using MSG91 API API through Jentic.
What authentication does the MSG91 API use?
The MSG91 API uses an API key passed in the authkey header. Through Jentic the authkey is stored encrypted in the vault and injected at request time, so it never appears in the agent's prompt context.
Can I send and verify OTPs in one workflow?
Yes. POST /v5/otp issues the code to the supplied mobile number and GET /v5/otp/verify validates the user's submitted code. /v5/otp/retry resends the code if the user does not receive the first message.
What are the rate limits for the MSG91 API?
MSG91 enforces channel-specific throughput tied to your account class — DLT-approved transactional SMS routes burst higher than promotional routes, and WhatsApp respects the Meta tier on your number. Spread campaign sends across the /v5/flow endpoint with batching to avoid throttling.
How do I trigger a transactional SMS flow through Jentic?
Search Jentic for 'send a transactional sms', load the /v5/flow schema, and execute POST /v5/flow with the approved DLT template id and your variables. The agent receives the delivery acknowledgment without ever holding the authkey.
Is the MSG91 API free?
MSG91 offers free trial credits for evaluation but production use is metered per channel — SMS by sender route and country, WhatsApp by Meta conversation tier, voice per minute. Check the dashboard for active rates before launching a campaign.
Does MSG91 support WhatsApp templates?
Yes. The WhatsApp endpoints send pre-approved templates with dynamic variables and ingest inbound replies on the configured webhook. Approval flows through Meta's Business Manager and templates appear in the dashboard once live.
/v5/report/otp/analytics
Retrieve OTP analytics aggregates