Skip to content

IntegrationsWhatsApp

Gupshup API integration

Put Gupshup in your product or your AI agent. Truto handles the sign-in and the token refresh, and keeps the connection working after launch.

01Proxy API

Call the Gupshup API directly. Every endpoint, through Truto.

Truto’s Proxy API is a 1-to-1 mapping of the Gupshup API. You call us, we call Gupshup, and pass the response back in the same cycle. Truto handles authentication and token refresh.

On every plan, including Free.

How the Proxy API works

Proxy APIGupshup

GEThttps://api.truto.one/proxy/templates?integrated_account_id=…

Gupshup’s own response, passed back

02MCP server

Gupshup tools for any AI agent. Any MCP client, or the agent you build.

Whatever your agent runs on, it gets Gupshup tools for each customer’s account: through an MCP server, or straight from the tools API.

On every plan, including Free.

What an agent can doin Gupshup
  • MessageCreate
  • Template messageCreate
  • Product template messageCreate
  • Marketing messageCreate
  • Instagram messageCreate
  • Inbound messageGet one
  • Inbound message readCreate
  • TemplatesList, Get one
  • SubscriptionsGet one, Create, Update, Delete, Bulk remove all
  • Business detailsList
  • Business profilesList, Bulk update
  • Business profile aboutList, Bulk update
  • Business profile photosList, Bulk update
  • Blocked usersList, Create, Bulk remove
  • App tokenCreate
Show tool names25 tools, for developers
  • create_a_gupshup_messageSend a WhatsApp session (free-form) message: text, image, video, audio, document, sticker, reaction, location, list, quick reply, catalog, single/multi product or CTA URL. Only reaches users who messaged the business in the last 24 hours; outside that window send a template (template_messages.create). Returns the messageId; delivery status arrives on the app webhook.
  • create_a_gupshup_template_messageSend an approved WhatsApp template message (text, image, video, document, location, coupon code, carousel, limited-time offer or authentication/OTP), optionally with postback texts for quick-reply buttons. Works outside the 24-hour window. Returns the messageId.
  • create_a_gupshup_product_template_messageSend a catalog or multi-product (MPM) WhatsApp template message, which use Meta-format template objects with product sections. Returns the messageId.
  • create_a_gupshup_marketing_messageSend a marketing template through Marketing Messages Lite (MM Lite, v3), Meta's optimised delivery path for marketing templates. Marketing-category templates only; the app must be onboarded to MM Lite. Uses the App ID of the connection.
  • create_a_gupshup_instagram_messageSend a message to an Instagram user through a Gupshup bot, replying to the context received in the inbound Instagram event.
  • get_single_gupshup_inbound_message_by_idGet the read status of an inbound (user-sent) message. Uses the App ID of the connection.
  • create_a_gupshup_inbound_message_readMark an inbound (user-sent) message as read, which shows blue ticks to the user. Use the message id from the inbound message webhook. Uses the App ID of the connection.
  • list_all_gupshup_templatesList the WhatsApp message templates of the app, with status, category, type, quality and language filters. Uses the App ID of the connection.
  • get_single_gupshup_template_by_idGet one WhatsApp message template of the app by its template id. Uses the App ID of the connection.
  • create_a_gupshup_subscriptionAdd a webhook subscription to the app: a callback URL that receives the chosen event modes (message, delivery, read, billing and other events). Uses the App ID of the connection.
  • get_single_gupshup_subscription_by_idGet one webhook subscription of the app. Uses the App ID of the connection.
  • update_a_gupshup_subscription_by_idUpdate a webhook subscription of the app: URL, tag, version, event modes or active flag. Uses the App ID of the connection.
  • delete_a_gupshup_subscription_by_idDelete one webhook subscription of the app. Uses the App ID of the connection.
  • gupshup_subscriptions_bulk_remove_allDelete all webhook subscriptions of the app. The app then receives no more webhook events until a subscription is added. Uses the App ID of the connection.
  • list_all_gupshup_business_detailsGet the business details of the app (display name, verification and account status). Uses the App ID of the connection.
  • list_all_gupshup_business_profilesGet the WhatsApp business profile of the app: address, description, vertical, websites and email. Uses the App ID of the connection.
  • gupshup_business_profiles_bulk_updateCreate or update the WhatsApp business profile of the app: address, description, vertical, websites and email. Send only the fields to change. Uses the App ID of the connection.
  • list_all_gupshup_business_profile_aboutGet the "About" text of the WhatsApp business profile. Uses the App ID of the connection.
  • gupshup_business_profile_about_bulk_updateSet the "About" text of the WhatsApp business profile (up to 139 characters). Uses the App ID of the connection.
  • list_all_gupshup_business_profile_photosGet the link to the profile photo of the WhatsApp business profile. Uses the App ID of the connection.
  • gupshup_business_profile_photos_bulk_updateUpload a new profile photo for the WhatsApp business profile (image file, max 5 MB). Uses the App ID of the connection.
  • list_all_gupshup_blocked_usersList the WhatsApp users blocked by the business, 100 per page. Uses the App ID of the connection.
  • create_a_gupshup_blocked_userBlock WhatsApp users from messaging the business; the business also cannot message them. Only users who messaged the business in the last 24 hours can be blocked; 64,000 user blocklist limit. Uses the App ID of the connection.
  • gupshup_blocked_users_bulk_removeUnblock previously blocked WhatsApp users so they can message the business again. Uses the App ID of the connection.
  • create_a_gupshup_app_tokenMint a Customer App Token (CAT) for the app from the Customer Secret: a 24-hour bearer token that replaces the static API key (API keys stop working on 31 March 2027). Truto mints and renews it automatically when the connection has a Customer Secret, so calling this is rarely needed. Max 3 active tokens per app. Uses the App ID of the connection.

AMCP serverno code

For any MCP client

One URL per connected Gupshup account. Paste it into Claude, ChatGPT, Cursor, Windsurf, VS Code, Cline, Zed or a custom agent.

Server URLhttps://api.truto.one/mcp/<token>

BTools APIfor developers

For the agent you build

One call returns every Gupshup tool for an account, with its description and JSON schema, ready for any LLM framework.

GEThttps://api.truto.one/integrated-account/<id>/tools

Tools come as JSON schema, so they plug into any agent framework.

  • Always up to date

    Tools are generated from curated documentation, not hand-coded. As the integration changes, the tools stay current.

  • You set the limits

    Scope each MCP server to read-only, write-only, specific methods or tagged tool groups. Expose only what the agent needs.

  • One customer each

    Each MCP server is scoped to one connected account with its own credentials. Nothing leaks across tenants.

  • Tools you can edit

    Tool descriptions and schemas are editable in your Truto account. A change updates at once, with no deploy.

  • Sign-in handled

    Tool calls run through Truto’s proxy layer, with OAuth refresh, rate-limit handling and normalized errors.

  • Access can expire

    Create time-limited servers for contractors or automated workflows. Optionally require a Truto API token as well.

How MCP servers work

03Unified API

Call Gupshup the same way as your other apps. One mapping to go.

A unified API gives every app in a category the same call and the same data shape. Gupshup is not in one yet. Build your own model, or ask us.

Gupshupon Truto
  1. Sign-in and tokensTruto handles themReady
  2. Proxy APIWorks today, on FreeReady
  3. Unified APIOne mapping to goTo do

Then: one call for every app

  • Path 1 Self-serve

    Build your own model

    • Mapping editor, with version history
    • Live for every connected account
    • No deploy

    Start free

  • Path 2 We do it

    Ask Truto

    • Tell us the Gupshup data you need
    • We add the mapping

    Talk to us

  • Price Add-on

    $499 per category a month

    • 30-day trial on Free
    • Your own unified models: Pro add-on, $499 a month

    See pricing

04Sync and webhooks

Sync Gupshup data on a schedule. Sent to your webhook.

A sync job reads Gupshup records on a schedule and sends each page to your webhook or your datastore. Signed webhooks tell you when an account connects or needs to sign in again.

On every plan, including Free.

05Custom actions

Add any Gupshup endpoint. With the Truto CLI.

Need a Gupshup endpoint or method that is not here yet? Add it with the Truto CLI and your coding agent, or call any Gupshup path through the Custom API.

On every plan, including Free. Truto CLI

Use cases

Why integrate with Gupshup.

  1. Add WhatsApp to an omnichannel helpdesk

    Let your support customers manage WhatsApp conversations alongside email and chat in a single inbox. Truto handles Gupshup auth and webhook setup so you can focus on the agent UX.

  2. Power WhatsApp broadcasts in a marketing automation suite

    Enable marketers to include WhatsApp as a channel in their campaign flows, using pre-approved Meta templates and MM Lite optimized delivery without leaving your product.

  3. Automate post-purchase messaging for e-commerce SaaS

    Trigger order confirmations, shipping updates, and catalog-based cross-sell messages via WhatsApp from inside your e-commerce platform's workflow engine.

  4. Offer white-labeled WhatsApp Business account management

    Let your customers update their WhatsApp business profile, about section, and photos directly from your UI — no need for them to log into Gupshup.

  5. Build a CRM activity timeline with WhatsApp events

    Ingest delivered, read, and inbound message events into your CRM timeline so sales and success teams have full context on every customer conversation.

What you can build

Ship these with Truto and Gupshup.

  • Two-way WhatsApp inbox

    Receive inbound messages via Gupshup subscriptions and reply with free-form text, media, or interactive messages inside the 24-hour service window.

  • Template picker with live sync

    Pull your customer's approved WhatsApp templates into a dropdown in your campaign or workflow builder, filtered by status and quality.

  • Session-aware message routing

    Automatically send free-form messages when a contact is in an active 24-hour session and fall back to template messages when outside the window.

  • Marketing broadcast engine

    Schedule and dispatch WhatsApp marketing messages at scale using Gupshup's MM Lite path, with delivery and read-receipt webhooks feeding back into analytics.

  • Interactive product catalogs

    Send multi-product template messages so customers can browse and tap on catalog items directly inside WhatsApp.

  • Profile and blocklist management

    Let end users update business profile details, about text, and photos, and block abusive numbers directly from your app's settings panel.

Security

Your customers’ Gupshup data stays theirs. Truto passes it through.

  • Records pass through

    Customer records are not kept. Truto fetches them when your product asks and passes them on.

  • Our OAuth apps or yours

    Where an app signs in with OAuth, use Truto’s OAuth apps or your own, on every plan. Each customer’s login is kept encrypted (AES-256) while connected.

  • SOC 2 · TYPE IIAUDITEDISO/IEC 27001CERTIFIEDGDPRHIPAACASA · TIER 2TAC SECURITY

    Audited and certified

    SOC 2 Type II, ISO 27001, GDPR and HIPAA. CASA Tier 2, verified by TAC Security. Trust Centre

How it works

From zero to integrated. Start free, no card.

  1. Link your customer’s Gupshup account

    Use Truto’s frontend SDK to connect your customer’s Gupshup account. We handle all OAuth and API key flows — you don’t need to create the OAuth app.

  2. We handle authentication

    Don’t spend time refreshing access tokens or figuring out secure storage. We handle it and inject credentials into every API request.

  3. Call our API, we call Gupshup

    Truto’s Proxy API is a 1-to-1 mapping of the Gupshup API. You call us, we call Gupshup, and pass the response back in the same cycle.

  4. Unified response format

    Every response follows a single format across all integrations. We translate Gupshup’s pagination into unified cursor-based pagination. Data is always in the result attribute.

FAQs

Common questions about Gupshup on Truto.

How does authentication to Gupshup work?

Gupshup uses API key-based authentication tied to each app. Truto stores your customer's credentials securely and injects them into every request, and you can use create_a_gupshup_app_token to generate tokens programmatically when needed.

Can we receive inbound WhatsApp messages in real time?

Yes. Use create_a_gupshup_subscription to register a webhook for inbound messages and delivery events. Truto normalizes webhook delivery so you receive events reliably at your own endpoint.

Do we have to manage WhatsApp's 24-hour session window ourselves?

Yes — Gupshup enforces Meta's rules, so your integration logic decides when to use create_a_gupshup_message (in-session, free-form) versus create_a_gupshup_template_message (out-of-session, requires an approved template). Truto exposes both endpoints so you can implement the routing cleanly.

Can we sync and use WhatsApp templates created in Gupshup?

Yes. Use list_all_gupshup_templates and get_single_gupshup_template_by_id to fetch Meta-approved templates and present them in your UI for selection in campaigns or workflows.

What message types are supported?

The available tools cover standard messages, template messages, product template messages (MPM), marketing messages via MM Lite, and Instagram messages — covering transactional, promotional, and conversational use cases.

Can our customers manage their WhatsApp business profile from our app?

Yes. Truto exposes list and bulk-update endpoints for business details, profiles, about text, and profile photos, so you can offer white-labeled profile management without sending users to Gupshup.

How do we show blue ticks when an agent reads a message?

Call create_a_gupshup_inbound_message_read after an agent views an inbound message in your UI. Gupshup will mark the message as read on the consumer's side.

Gupshup

Get Gupshup integrated into your app

Sign up free, connect a test Gupshup account and make your first call today. No card and no sales call.