Configurar el reporte diario
Usalo para activar o ajustar el reporte diario: el horario de envío y si cubre todas las campañas o solo algunas.
Upsert the daily report configuration for the authenticated owner. Ensures exactly one row per owner (unique(owner_id))
Escritura · requiere el permiso accounts:write.
When all_campaigns is false, the submitted campaign_ids are pruned
to only those that still resolve to a visible campaign (owner + agents
scope) in the groups database, dropping orphans silently. The purge
is best-effort: if the groups connection is unavailable, the
submitted ids are persisted unpruned rather than being wiped out.
httpAuthorizationBearer <clave>application/json- body
enabled*booleansend_time?string|nullall_campaigns*booleancampaign_ids?array<integer>|nullAlertDailyReportResource
application/json- response
enabled*booleansend_time*string|nullall_campaigns*booleancampaign_ids*string|array<string>curl -X PUT "https://example.com/alerts/daily-report" \ -H "Content-Type: application/json" \ -d '{ "enabled": true, "all_campaigns": true }'{ "enabled": true, "send_time": "string", "all_campaigns": true, "campaign_ids": "string"}Ver el reporte diario GET
Sirve para ver cómo está configurado el reporte diario: si está activo, a qué hora se envía y qué campañas incluye.
Campañas para alertas
Lista, con búsqueda por nombre, las campañas de grupos de WhatsApp de la cuenta que podés elegir al configurar alertas como el reporte diario.