Ver la salud de un número

Usalo para ver la salud de un número de WhatsApp Cloud (estado, identidad, nivel de throughput e historial de cambios) a partir del último dato guardado, sin consultar a Meta.

GET
/devices/{device}/health

GET /devices/{device}/health — serves currentSnapshot() normalized through DeviceHealthDetailResource. NEVER calls Meta

Lectura · requiere el permiso accounts:read.

Autorización

http
headerAuthorizationBearer <clave>

Parámetros de la ruta

device*integer

The device ID

Cuerpo de la respuesta

DeviceHealthDetailResource

application/json
  1. response
health*string
identity*string
entities*string
throughput_level*string

Detail-only (meta-number-health-status, Increment 6 gap-closing follow-up) — deliberately NOT part of health, which the listing shares verbatim; see DeviceHealthSummaryBuilder::buildThroughputLevel().

history*array<>
meta_billing*|null
curl -X GET "https://example.com/devices/0/health"
{  "health": "string",  "identity": "string",  "entities": "string",  "throughput_level": "string",  "history": [    {      "field": "string",      "previous_value": "string",      "new_value": "string",      "detail": "string",      "source": "string",      "occurred_at": "string"    }  ],  "meta_billing": {    "waba_id": "string",    "business_id": "string"  }}