Retrieve account limits
Retrieve account usage limits. Details the current limits and usage for your account. This endpoint requires authentication with an account-level API key.
GET /api/usage/limits
curl \
-u api:YOUR_API_KEY \
https://mailosaur.com/api/usage/limits
{
"servers": {
"current": 27,
"limit": 50
},
"users": {
"current": 16,
"limit": 25
},
"email": {
"current": 12356,
"limit": 20000
},
"sms": {
"current": 271,
"limit": 500
},
"previews": {
"current": 89,
"limit": 200
},
"numbers": {
"current": 2,
"limit": 5
}
}
List usage transactions
Retrieves the last 31 days of transactional usage. This endpoint requires authentication with an account-level API key.
GET /api/usage/transactions
curl \
-u api:YOUR_API_KEY \
https://mailosaur.com/api/usage/transactions
{
"items": [
{
"timestamp": "2021-01-31T00:00:00Z",
"email": 2000,
"sms": 51,
"previews": 0
}
]
}
Previous
Analysis