Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
--url https://api.lettermint.co/v1/team/usage \
--header 'Authorization: Bearer <token>'{
"current_period": {
"usage": 123,
"last_incremented_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
},
"historical_usage": [
{
"usage": 123,
"last_incremented_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
}
]
}Returns current and historical email usage data with billing information. Historical usage includes up to 12 most recent periods.
curl --request GET \
--url https://api.lettermint.co/v1/team/usage \
--header 'Authorization: Bearer <token>'{
"current_period": {
"usage": 123,
"last_incremented_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
},
"historical_usage": [
{
"usage": 123,
"last_incremented_at": "2023-11-07T05:31:56Z",
"period_start": "2023-11-07T05:31:56Z",
"period_end": "2023-11-07T05:31:56Z"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.