Usage

Reportes de uso (mensajes, conversaciones, costos) agregados por período.

Base path: /organizations/:orgId/usage·1 endpoint·Source: mosend-wb-backend/src/modules/usage/usage.controller.ts
GET/organizations/:orgId/usage/daily
bearer

Devuelve el consumo diario por métrica desde una fecha.

Path params

  • orgIdstringrequerido

Query params

  • metricstring
  • sincestring

Respuestas

  • 200
curl -X GET 'https://api.mosend.dev/organizations/a1b2c3d4-1234-5678-9abc-def012345678/usage/daily' \
  -H 'X-Api-Key: mk_live_<prefix>.<secret>'
Response · 200
{
  "data": [
    {
      "id": "00000000-0000-0000-0000-000000000000",
      "createdAt": "2026-05-01T03:42:18.123Z"
    }
  ],
  "timestamp": "2026-05-01T03:42:18.123Z"
}