Lettermint Team API
​string · date · required​string · date · required​string | null · uuid​boolean​string · required​string · required​string · required
Stats
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.
query Parameters
fromStart date (Y-m-d)
toEnd date (Y-m-d, maximum 90 days from from)
project_idOptional project UUID for project-scoped statistics with transactional and broadcast breakdowns
include_machineInclude legacy machine observations in open and click totals. Privacy opens are reported in the observed and privacy fields without this option
Default: false
Headers
AuthorizationBearer token. Format: Bearer {team_token}
Get message statistics › Responses
StatsData
fromto​StatsTotalsData · required
​StatsDailyData[] · required