Gupshup

App · 3 actions

List approved WhatsApp templates and send messages from your Gupshup app.

Actions

ActionWhat it does
List templatesList templates.
Send template messageSend template message.
Send text messageSend text message.

List templates

List templates.

Inputs

None.

Outputs

dataobject
The response from Gupshup.
Example output
{
  "data": {
    "status": "example",
    "templates": []
  }
}

Send template message

Send template message.

Inputs

RecipientrecipienttextRequired
Recipient.
Templatetemplate_idtextRequired
Template id.
Template parameterstemplate_parameterslist
Template parameters.

Outputs

dataobject
The response from Gupshup.
Example output
{
  "data": {
    "messageId": "example",
    "status": "example"
  }
}

Send text message

Send text message.

Inputs

RecipientrecipienttextRequired
Recipient.
TexttexttextRequired
Text.

Outputs

dataobject
The response from Gupshup.
Example output
{
  "data": {
    "messageId": "example",
    "status": "example"
  }
}

On this page