Skip to main content
POST
/
send-carousel
Enviar carrossel
curl --request POST \
  --url https://zapi.hubmessage.io/channels/{channel_id}/token/{channel_token}/send-carousel \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "5511999999999",
  "message": "Confira nossos produtos:",
  "carousel": [
    {
      "text": "Produto A",
      "image": "https://exemplo.com/produto-a.png",
      "buttons": [
        {
          "id": "1",
          "type": "URL",
          "label": "Ver detalhes",
          "url": "https://www.hubmessage.io"
        },
        {
          "id": "2",
          "type": "REPLY",
          "label": "Tenho interesse"
        }
      ]
    },
    {
      "text": "Produto B",
      "image": "https://exemplo.com/produto-b.png",
      "buttons": [
        {
          "id": "3",
          "type": "URL",
          "label": "Ver detalhes",
          "url": "https://www.hubmessage.io"
        },
        {
          "id": "4",
          "type": "REPLY",
          "label": "Tenho interesse"
        }
      ]
    }
  ]
}
'
{
  "zaapId": "3999984263738042930CD6ECDE9VDWSA",
  "messageId": "D241XXXX732339502B68",
  "id": "D241XXXX732339502B68"
}

Overview

Method for sending messages with a card carousel. Each card can contain an image, text, and action buttons (CALL, URL, or REPLY).
The response structure is identical to Z-API. Your existing code that processes these returns will continue working without changes.

Authorizations

Authorization
string
header
required

Secret Key gerada no painel de Segurança do Hub Message

Body

application/json
phone
string
required

Telefone do destinatário (DDI + DDD + número)

Example:

"5511999999999"

message
string
required

Texto da mensagem

Lista de cards do carrossel

delayMessage
integer

Delay em segundos antes do envio (1-15)

Required range: 1 <= x <= 15

Response

Mensagem enviada com sucesso

zaapId
string

Identificador interno

messageId
string

ID da mensagem no WhatsApp

id
string

Mesmo valor do messageId (compatibilidade)