Read delivery and consent totals
Counts what happened to the messages sent in a range of UTC days: sent, delivered, read, and failed, with the opt-outs and opt-ins of those days. Hidden until MessageOS turns it on. from is included and to is not.
It counts as messages are sent and reports arrive, so it needs no daily summary. A report can arrive after the day its message was sent, so a recent day can still change.
Scope: usage:read.
bearerAuthorizationBearer <mosc_...>A client key (mosc_).
from*stringFirst day, included (YYYY-MM-DD). Days are UTC.
^\d{4}-\d{2}-\d{2}$to*stringEnd day, not included (YYYY-MM-DD). It must be after from, and at most 92 days after it.
^\d{4}-\d{2}-\d{2}$The totals, the rates, and one row for each day.
application/json- response
Delivery and consent totals for a range of days. It is a measurement, not a charge.
from*stringFirst day, included.
to*stringEnd day, not included.
timeZone*stringtotals*rates*days*array<>One row for every day of the range, with zeros on a day with nothing.
failureReasons*array<>Why messages failed, most common first, up to five.
Example request
curl 'https://api.messageos.ai/v1/usage/summary?from=2026-10-01&to=2026-11-01' \ -H 'Authorization: Bearer mosc_...'Example response
{ "from": "2026-10-01", "to": "2026-11-01", "timeZone": "UTC", "totals": { "sent": 40, "delivered": 38, "read": 21, "failed": 1, "optedOut": 2, "optedIn": 1 }, "rates": { "delivered": 0.95, "read": 0.95, "failed": 0.95 }, "days": [ { "day": "2026-10-01", "sent": 40, "delivered": 38, "read": 21, "failed": 1, "optedOut": 2, "optedIn": 1 } ], "failureReasons": [ { "reason": "The file could not be fetched", "count": 1 } ]}