Listar los datasets de Conversions API

Sirve para mostrar el estado de Conversions API de todos tus WABA conectados sin llamar a Meta, a partir de lo que guardaron las verificaciones anteriores.

GET
/devices/capi/datasets

Lectura · requiere el permiso accounts:read.

Listado · perPage de 1 a 100 (por defecto 25) · orden fijo: id ascendente · no acepta parámetros de orden.

Read-only status snapshot: returns the authenticated owner's already persisted waba_capi_datasets rows, one per WABA they've connected.

Unlike test(), this endpoint NEVER calls Meta and NEVER writes — it only reads what a previous dataset/test call (or the Meta connection flow) already persisted. Powers the connection card showing CAPI status as soon as it opens, without requiring the user to press "Probar conexión" first.

Not device-scoped: not authorized via DevicePolicy against a single Device — it is scoped to auth()->id() directly, since waba_capi_datasets.user_id always holds the account owner's id (see WabaCapiDataset). Agents share the owner's account (payment-valid + user-admin gates on the route already require an owner-level token).

Autorización

http
headerAuthorizationBearer <clave>

Cuerpo de la respuesta

Array of items

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