Skip to main content
POST
/
send
/
carousel
Dispatch Interactive Carousel UI Component
curl --request POST \
  --url https://app.wachat.net/api/v1/send/carousel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "instanceName": "<string>",
  "number": "<string>",
  "type": "interactive",
  "interactive": {
    "type": "carousel",
    "cards": [
      {
        "header": {
          "type": "image",
          "mediaUrl": "https://cdn.pixabay.com/photo/2022/09/23/09/13/promotion-7474039_1280.png"
        },
        "body": "Paket Kilat Pembuatan SaaS Modern",
        "buttons": [
          {
            "buttonId": "c_saas",
            "buttonText": {
              "displayText": "Take Promotion"
            },
            "type": 1
          }
        ]
      },
      {
        "header": {
          "type": "image",
          "mediaUrl": "https://cdn.pixabay.com/photo/2022/07/21/13/18/computer-7336233_1280.png"
        },
        "body": "Setup VPS & CloudPanel",
        "buttons": [
          {
            "buttonId": "c_vps",
            "buttonText": {
              "displayText": "Consultation"
            },
            "type": 2
          }
        ]
      }
    ],
    "body": "Here is our web services catalog:"
  },
  "delay": 123
}
'

Authorizations

Authorization
string
header
required

Authenticate your integration payloads by injecting your premium secure Wachat Account API Private Secret Key inside standard Authorization Bearer header vectors.

Body

application/json
instanceName
string
required

Name of your connected WhatsApp session profile.

number
string
required

Target phone number with international country code routing.

type
enum<string>
required

Set this strictly to interactive.

Available options:
interactive
Example:

"interactive"

interactive
object
required
delay
integer

Custom time delay configuration before rendering the structural carousel cards.

Response

200

Complex sliding carousel matrix successfully structured and delivered to user interface.