Pular para o conteúdo principal
POST
/
send-sticker
curl --request POST \
  --url https://zapi.hubmessage.io/channels/{channel_id}/token/{channel_token}/send-sticker \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "phone": "5511999999999",
  "sticker": "https://example.com/sticker.png",
  "stickerAuthor": "Hub Message"
}
'
{
  "zaapId": "3999984263738042930CD6ECDE9VDWSA",
  "messageId": "D241XXXX732339502B68",
  "id": "D241XXXX732339502B68"
}

Conceituação

Método para envio de stickers (figurinhas). Você pode enviar por URL ou por Base64.
Ao enviar em Base64, é obrigatório incluir o prefixo com o tipo da imagem, por exemplo: data:image/png;base64,. Para validar, cole o Base64 completo na barra de endereço do navegador e verifique se a imagem renderiza corretamente.
A estrutura de resposta é idêntica à da Z-API. Seu código existente que processa esses retornos continuará funcionando sem alterações.
Os limites de tamanho e formatos suportados seguem as políticas do WhatsApp. Consulte a documentação oficial do WhatsApp para mais detalhes.

Autorizações

Authorization
string
header
obrigatório

Secret Key generated in the Hub Message Security panel

Corpo

application/json
phone
string
obrigatório

Recipient phone number (country code + area code + number)

Exemplo:

"5511999999999"

sticker
string
obrigatório

Sticker URL or Base64 data

stickerAuthor
string

Sticker author name

messageId
string

ID of an existing message to reply to

delayMessage
integer

Delay in seconds before sending (1-15)

Intervalo obrigatório: 1 <= x <= 15

Resposta

Message sent successfully

zaapId
string

Internal identifier

messageId
string

WhatsApp message ID

id
string

Same value as messageId (compatibility)