Crie sua conta grátis e teste por 7 dias ( você não será cobrado no período de testes )

Status das Conexões

Status das Conexões

Status das Conexões
PHP
<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => 'https://api.robomensageiro.com.br/api/whatsapp-status/',
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => '',
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => 'POST',
  CURLOPT_HTTPHEADER => array(
    'Content-Type: application/json',
    'Authorization: Bearer tokenmeu'
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

Retorno com sucesso:

JSON
{
    "whatsapps": [
        {
            "id": 111,
            "name": "Robô Mensageiro",
            "qrcode": "",
            "status": "CONNECTED",
            "channel": "whatsapp",
            "battery": null,
            "plugged": null,
            "retries": 0,
            "greetingMessage": "",
            "farewellMessage": "",
            "complationMessage": "",
            "outOfHoursMessage": "",
            "ratingMessage": "",
            "closeMessage": "Encerrar por inatividade",
            "provider": "stable",
            "isDefault": false,
            "companyId": 1,
            "token": null,
            "hubtoken": "X",
            "webhook": null,
            "ignoreNumbers": null,
            "number": "",
            "selectedInterval": 0,
            "selectedMoveQueueId": null,
            "excluded": null,
            "excludedwpw": null,
            "ixcrandom": null,
            "markasread": null,
            "importmessages": null,
            "coverImage": null,
            "inatividade": 0,
            "removido": false,
            "createdAt": "2023-12-27T19:08:29.267Z",
            "updatedAt": "2024-02-12T16:28:48.935Z",
            "queues": [
                {
                    "id": 50,
                    "name": "TYPEBOT",
                    "color": "#73d8ff",
                    "greetingMessage": "*TESTE* Olá! Obrigado por entrar em contato.\n\nAguarde um instante enquanto localizo as opções para você!\n\n",
                    "WhatsappQueue": {
                        "whatsappId": 111,
                        "queueId": 50,
                        "createdAt": "2024-02-11T21:41:37.576Z",
                        "updatedAt": "2024-02-11T21:41:37.576Z"
                    }
                }
            ]
        }
    ]
}
Atendimento por WhatsAppAtendimento
WhatsApp