/usage
GET
Effective plan, its send, domain, contact and inbox limits, today's accepted send count (UTC day) and, on a monthly plan, the billing period's usage. On the Free plan the daily count is shared by every Free team created by the same person, as the cap is. Ritto Mail extension; plan, limits and period are null when the team has no plan attached.
application/json- response
object*"usage"Value in
"usage"cloud*booleanTrue where billing is on and plan limits apply
plan*stringEffective plan; "free" means no subscription (nothing is sent); "trial" is the 3-day free trial (1,000 emails, 100 an hour; period is the trial window); null when plans do not apply
Value in
"free""trial""hobby""starter""pro""business""scale"nulllimits*today*period*Billing-period usage on monthly plans; null on daily plans or without a plan
team*app_url*stringDashboard origin, for building links; null when unset
curl -X GET 'https://api.ritto.email/usage'Example Response
{ "object": "usage", "cloud": true, "plan": "free", "limits": { "emails_per_day": 0, "emails_per_month": 0, "emails_per_day_cap": 0, "emails_per_hour_cap": 0, "domains": 0, "members": 0, "log_retention_days": 0, "contacts": 0, "inboxes": 0 }, "today": { "emails_sent": 0, "resets_at": "string" }, "period": { "emails_sent": 0, "included": 0, "overage_enabled": true, "overage_usd_per_1k": 0, "starts_at": "string", "ends_at": "string" }, "team": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "app_url": "string"}