Account

API reference for emails left this month, today's campaign limit and what's left of it, and warm-up.

Using an AI agent? Just ask:“How many emails do I have left this month, and how many campaign emails can I still send today?”Connect your agent →

Get account#

GET/api/v1/account

Your plan and the emails left this month, whether the workspace can send, and today's campaign limit with how much of it is left. Check it before a big campaign.

Request
curl https://maillayer.com/api/v1/account \
  -H "Authorization: Bearer $MAILLAYER_KEY"
Response · 200
{
  "name": "Acme",
  "status": "active",
  "paused_reason": null,
  "plan": "50k",
  "plan_interval": "month",
  "plan_emails_per_month": 50000,
  "plan_emails_left": 9420,
  "plan_refills_at": "2026-12-03T10:00:00.000Z",
  "credits": 0,
  "emails_left": 9420,
  "approval": "approved",
  "approval_note": null,
  "can_send": true,
  "free_tests_left": null,
  "campaigns": {
    "daily_limit": 5000,
    "sent_today": 1200,
    "left_today": 3800,
    "resets_at": "2026-11-15T00:00:00.000Z",
    "note": "A campaign bigger than what's left today keeps going on the following days by itself."
  },
  "transactional": { "daily_limit": null, "requests_per_minute": 300 }
}

approval is none, pending, approved or rejected. New accounts pick a plan and are approved by hand before they send; until then approval_note says what to do next. Transactional email has no daily limit, only the API rate limit. emails_left is this month's plan emails plus credits (credit packs bought before plans, which never expire and are used once the plan's emails run out). See Deliverability for how the daily limit is set.