DevConnectAi icon

DevConnectAi

Integração completa com API DevConnectAi - Envie mensagens, gerencie contatos, tickets e muito mais

📋 Enviar Lista

AI-generated

Summary

Send a list message to a WhatsApp user or group

Inputs

  • tokenType — Tipo de token a ser usado (connection, company, admin)
  • number (required) — Número do destinatário no formato internacional
  • type — Tipo do destinatário, seja 'user' ou 'group'
  • options — Opções da mensagem, incluindo delay e replyFrom
  • groupOptions — Opções específicas para grupos, como marcação do usuário
  • msgdata — Dados da mensagem da lista, contendo título, descrição, texto do botão e rodapé
  • sections (required) — Seções da lista, cada uma com título e opções
  • flowOn — Controla se o ticket deve aparecer na aba chatbot

Output shape

a single record with the API response

May be empty on failure; contains the HTTP response JSON from DevConnectAi

Examples

Example 1: Send a list to a group with mention

operation=sendList, tokenType=connection, number=5511999999999, type=group, sections defined with titles and rows, groupOptions.markUser=mention

Example 2: Send a list message to a user with custom delay

operation=sendList, number=5511999999999, type=user, msgdata includes title, description, buttonText, flowOn=keep, options.delay=1000

Example 3: Publish a list to a contact with reply-from reference

operation=sendList, number=5511999999999, type=user, msgdata filled, options.replyFrom set to existing message ID

Discussion