Lettermint Team API
string · requiredstring · requiredstring · date · requiredstring · date · requiredstringstring | null · uuidstring · requiredstring · requiredstring · 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
project_idHeaders
AuthorizationBearer token. Format: Bearer {team_token}
Get message statistics › Responses
StatsData
fromtoobject · required
object[] · required