Skip to content
Gupshup logo

Connectors / Communication · HTTP Connector

Gupshup integration and API

Send a text message and update profile details in Gupshup, and start a workflow when Gupshup sends “Inbound message”.

What can you do with Gupshup on Tray.ai?

Gupshup is a conversational messaging platform that lets businesses send WhatsApp, SMS and other channel messages to customers at scale. Tray.ai connects to Gupshup through the HTTP Connector, so your workflows can call the Gupshup API alongside the rest of your stack.

  • When Gupshup sends “Inbound message”, open a conversation in your help desk with the customer's message.
  • Send a template message to confirm each new order from your e-commerce store.
  • When Gupshup sends “User opted out”, update the contact's messaging consent in your CRM.
  • When Gupshup sends “Template status update”, tell the marketing team in your team chat.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.gupshup.io

Set it up

Connect Gupshup to Tray.ai

Each step uses Gupshup's own API details, from its documentation.

Save Gupshup's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.gupshup.io as the base URL. Or paste a cURL example from Gupshup's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List templates for an app”

It's one of 11 documented actions, under Templates. The response comes back as data the next step can map into your other apps.

Start workflows from Gupshup events

Give Gupshup the URL of a Tray.ai webhook trigger. “Inbound message” can then start a workflow, and so can 5 other events.

Workflows to build with Gupshup

Connect Gupshup with Shopify, Zendesk and HubSpot

Each one uses actions and events from Gupshup's own API documentation.

Send WhatsApp order updates for Shopify orders

When

An order is fulfilled in Shopify

Then

  1. Get a template for the shipping update
  2. Send a template message with the tracking link

With Shopify

Turn inbound WhatsApp messages into Zendesk tickets

When

Inbound message

Then

  1. Create a ticket with the message in Zendesk
  2. Send a text message to confirm it was received

With Zendesk

Record WhatsApp opt-outs on the HubSpot contact

When

User opted out

Then

  1. Block a user so no more messages go out
  2. Update the contact's messaging consent in HubSpot

With HubSpot

Apps you can build on Gupshup data

Internal tools your team can build with an AI assistant, each one using Gupshup calls from its API documentation.

WhatsApp template sender

Lists approved templates and lets an agent send a template message to a customer.

Opt-out and block list

Shows opt-outs and blocked users so the team can keep contact lists clean and unblock a user when asked.

Inbound message inbox

Lists inbound customer messages with delivery status so an agent can reply by text.

Gupshup MCP server for AI agents

Build an MCP server on Gupshup in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • Send a text message
  • List templates for an app
  • Get business details
  • Block a user
  • Send a media message
  • Send a template message
  • Get a template
  • Update profile details

What the Gupshup API covers

4 resources and 11 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how. New to APIs? Read what an API integration is.

Messages

  • Send a text message
  • Send a media message
  • Send a template message

Templates

  • List templates for an app
  • Get a template

Business profile

  • Get business details
  • Update profile details
  • Update profile photo

Blocked users

  • Block a user
  • Unblock a user
  • List blocked users

Events Gupshup can send to a Tray.ai webhook trigger

  • Inbound message
  • Message status update
  • Template status update
  • User opted in
  • User opted out
  • Billing event

Checked against Gupshup's own documentation on 2026-10-22

docs.gupshup.io/reference/msg

Frequently asked questions

What can a Tray.ai workflow do in Gupshup?

The Gupshup API documents 11 actions across 4 resources (Messages, Templates, Business profile, Blocked users). For example: Send a text message; List templates for an app; Get business details. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Gupshup?

The Gupshup API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Gupshup events can start a Tray.ai workflow?

Gupshup sends 6 events to a webhook URL, for example: Inbound message; Message status update; Template status update; User opted in; User opted out; Billing event. A Tray.ai webhook trigger receives them and starts a workflow.

See Gupshup working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.