Lettermint Team API
string · requiredstring · requiredstring · date · requiredstring · date · requiredstringbooleanstring | null · uuidbooleanstring · required
Get message statistics
GET
https://api.lettermint.co/v1
/stats
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, max 90 days from from)
fromtoproject_idOptional project UUID for project-scoped stats with transactional/broadcast breakdown
include_machineInclude machine/privacy/security tracking observations in open and click totals
project_idinclude_machineDefault: false
Headers
AuthorizationBearer token. Format: Bearer {team_token}
Get message statistics › Responses
StatsData