Skip to main content
GET
/
team
/
usage
Get team usage statistics
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"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

TeamUsageDetailData

current_period
object
required
historical_usage
TeamUsagePeriodData · object[]
required