Gupshup offers an easy-to-use omnichannel messaging API, advanced bot-building platform and mobile marketing tools.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gupshup: {
type: "app",
app: "gupshup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gupshup.io/sm/api/v1/users/${this.gupshup.$auth.appname}`,
headers: {
"apikey": `${this.gupshup.$auth.apikey}`,
},
})
},
})
Gupshup uses API keys for authentication. When you connect your Gupshup account, Pipedream securely stores the keys so you can easily authenticate to Gupshup APIs in both code and no-code steps.
To connect Pipedream to your Gupshup account, enter the below fields:
appname
: The registered Gupshup app's nam (for example, "DemoAPI")apikey
: Your Gupshup account API key (for example, "4a71be28xxxxxxxxxxxxb250e9e2ee")