Essa rota é utilizado para enviar uma mensagem de lista de menu.

1132 912

1 - Exemplo de Request

{
  "to": "5511999999999",
  "body": "Olá 🙂\nQue bom que você chegou!\n\nAqui no Zap Americanas temos ofertas incríveis e personalizadas pra você ❤️\n\nClique e escolha uma das opções disponíveis 👇\n\n⚠Pra ver seus cupons exclusivos, escolha a opção ‘Meus cupons’",
  "action": {
    "sections": [
      {
        "title": "OFERTA",
        "rows": [
          {
            "id": "MEUS_CUPONS",
            "title": "Meus cupons"
          },
          {
            "id": "PRODUTOS_ALTA",
            "title": "Produtos em alta"
          },
          {
            "id": "PRODUTOS_MAIS_VENDIDOS",
            "title": "Produtos mais vendidos"
          },
          {
            "id": "OFERTAS_DIA",
            "title": "Ofertas do dia"
          }
        ]
      },
      {
        "title": "OUTROS",
        "rows": [
          {
            "id": "SUA_OPNIAO",
            "title": "Dê sua opnião"
          },
          {
            "id": "FALAR_PESSOA",
            "title": "Falar com uma pessoa"
          },
          {
            "id": "MEUS_ULTIMOS_PEDIDOS",
            "title": "Meus últimos pedidos"
          },
          {
            "id": "CARTAO",
            "title": "Cartão Americanas"
          },
          {
            "id": "FINALIZAR_COMPRA",
            "title": "Finalizar uma compra"
          },
          {
            "id": "NAO_RECEBER",
            "title": "Não receber mensagens"
          }
        ]
      }
    ]
  }
}

2 - Exemplo de response

{
  "data": {
    "control": "7fcda177-8ee0-48b4-bfcb-f3e5786b9bf5",
    "creationDate": "18-01-2022T21:01:54",
    "message": "Mensagem encaminhada para fila de processamento"
  },
  "errors": [],
  "links": []
}

3 - Exemplo de Status da mensagem enviada ao webhook

A - SENT

{
  "id": "7fcda177-8ee0-48b4-bfcb-f3e5786b9bf5",
  "channel": "whatsapp",
  "type": "list",
  "status": "SENT",
  "to": "5511999999999",
  "from": "5511888888888",
  "sendDate": "2022-01-18T21:02:36.000-0300",
  "contactUser": {
    "number": "5511999999999"
  },
  "contactBusiness": {
    "number": "5511888888888",
    "name": "Moorse",
    "profileImageUrl": "https://pps.whatsapp.net/v/t61.24694-24/s96x96/265562106_483654506420518_8069178589343189853_n.jpg?ccb=11-4&oh=01_AVx9xLGmb3nBXUIXArBdUAok-n9X9ubmEbwZNIh-mmtxVA&oe=61EC0B39"
  },
  "urlFile": "",
  "integrationId": "73eb6f77-75e2-46eb-9063-b25a0d44f895"
}

B - DELIVERED

{
  "id": "7fcda177-8ee0-48b4-bfcb-f3e5786b9bf5",
  "channel": "whatsapp",
  "type": "list",
  "status": "DELIVERED",
  "to": "5511999999999",
  "from": "5511888888888",
  "receivedDate": "2022-01-18T21:02:39.000-0300",
  "contactUser": {
    "number": "5511999999999"
  },
  "contactBusiness": {
    "number": "5511888888888",
    "name": "Moorse",
    "profileImageUrl": "https://pps.whatsapp.net/v/t61.24694-24/s96x96/265562106_483654506420518_8069178589343189853_n.jpg?ccb=11-4&oh=01_AVx9xLGmb3nBXUIXArBdUAok-n9X9ubmEbwZNIh-mmtxVA&oe=61EC0B39"
  },
  "urlFile": "",
  "integrationId": "73eb6f77-75e2-46eb-9063-b25a0d44f895"
}

C - READ

{
  "id": "7fcda177-8ee0-48b4-bfcb-f3e5786b9bf5",
  "channel": "whatsapp",
  "type": "list",
  "status": "READ",
  "to": "5511999999999",
  "from": "5511888888888",
  "readDate": "2022-01-18T21:03:11.000-0300",
  "contactUser": {
    "number": "5511999999999"
  },
  "contactBusiness": {
    "number": "5511888888888",
    "name": "Moorse",
    "profileImageUrl": "https://pps.whatsapp.net/v/t61.24694-24/s96x96/265562106_483654506420518_8069178589343189853_n.jpg?ccb=11-4&oh=01_AVx9xLGmb3nBXUIXArBdUAok-n9X9ubmEbwZNIh-mmtxVA&oe=61EC0B39"
  },
  "urlFile": "",
  "integrationId": "73eb6f77-75e2-46eb-9063-b25a0d44f895"
}

D - RECEIVED

{
  "id": "c1a58fd9-6866-4532-b412-2e13732e9c4d",
  "channel": "whatsapp",
  "type": "interactive",
  "status": "RECEIVED",
  "to": "5511999999999",
  "from": "5511888888888",
  "answeredDate": "2022-01-18T21:03:32.000-0300",
  "content": "Ofertas do dia",
  "contactUser": {
    "number": "5511999999999"
  },
  "contactBusiness": {
    "number": "5511888888888",
    "name": "Moorse",
    "profileImageUrl": "https://pps.whatsapp.net/v/t61.24694-24/s96x96/265562106_483654506420518_8069178589343189853_n.jpg?ccb=11-4&oh=01_AVx9xLGmb3nBXUIXArBdUAok-n9X9ubmEbwZNIh-mmtxVA&oe=61EC0B39"
  },
  "integrationId": "73eb6f77-75e2-46eb-9063-b25a0d44f895",
  "selectedOption": "OFERTAS_DIA"
}
Language
Authorization
OAuth2
Click Try It! to start a request and see the response here!