Lettermint Team API

Retrieve aggregated sending statistics for your team across a period.


Get message statistics

GET
https://api.lettermint.co/v1
/stats
Bearer

Returns aggregate message statistics for the specified date range. Provide a project_id to get per-project stats with transactional/broadcast breakdown. Without project_id, returns team-wide totals from team_message_stats. Maximum date range is 90 days.

Get message statistics › query Parameters

from
​string · date · required

Start date (Y-m-d)

to
​string · date · required

End date (Y-m-d, maximum 90 days from from)

project_id
​string | null · uuid

Optional project UUID for project-scoped statistics with transactional and broadcast breakdowns

include_machine
​boolean

Include legacy machine observations in open and click totals. Privacy opens are reported in the observed and privacy fields without this option

Default: false

Get message statistics › Responses

StatsData

from
​string · required
to
​string · required
​StatsTotalsData · required
​StatsDailyData[] · required