Probar la conexión con Conversions API

Usalo para verificar la conexión con Conversions API: chequea los permisos del token y que el WABA tenga dataset, sin enviar eventos de prueba, y te da el link al Events Manager.

GET
/devices/{device}/capi/test

Lectura · requiere el permiso accounts:read.

"Probar conexión": verifies the device token has the whatsapp_business_manage_events scope (GET /debug_token) and that the WABA has a dataset (GET /{WABA_ID}/dataset), persists the result, and returns an aggregated status + a link to Meta's Events Manager.

NEVER sends POST /{DATASET_ID}/events — Meta does not offer a test_event_code for business messaging and a test Purchase would inject a fake sale (design.md D6).

Authorized for the device owner only (DevicePolicy::update) — agents cannot check CAPI connection status.

Autorización

http
headerAuthorizationBearer <clave>

Parámetros de la ruta

device*integer

The device ID

Cuerpo de la respuesta

application/json
  1. response
curl -X GET "https://example.com/devices/0/capi/test"
{}